2022-06-21 10:33:35 +00:00
|
|
|
.SILENT:
|
2022-08-02 20:09:45 +00:00
|
|
|
.PHONY: build server serve help test dev
|
|
|
|
PORT?=8001
|
|
|
|
HOST?=127.0.0.1
|
2022-06-21 10:33:35 +00:00
|
|
|
|
2022-08-02 20:09:45 +00:00
|
|
|
build:
|
|
|
|
./build_tools/static_build.sh
|
2022-06-21 10:33:35 +00:00
|
|
|
serve: server
|
|
|
|
dev: server
|
|
|
|
server:
|
|
|
|
php -S $(HOST):$(PORT) -t public
|
|
|
|
test:
|
|
|
|
php ./vendor/bin/phpunit --stop-on-failure tests
|
2022-08-02 20:09:45 +00:00
|
|
|
|