portfolio/Makefile

14 lines
241 B
Makefile

.SILENT:
.PHONY: build server serve help test dev
PORT?=8001
HOST?=127.0.0.1
build:
./build_tools/static_build.sh
serve: server
dev: server
server:
php -S $(HOST):$(PORT) -t public
test:
php ./vendor/bin/phpunit --stop-on-failure tests