15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
dev-server:
php -S localhost:8082 -t www www/_route.php
test:
find . -name '*.php' -print0 | xargs -0 -n1 php -l > /dev/null
phpstan:
php ../tests/phpstan.phar analyze -c ../tests/phpstan.neon include www
release: test minify
$(eval VERSION=$(shell cat VERSION))
rm -rf /tmp/garradin-build
mkdir -p /tmp/garradin-build
fossil zip ${VERSION} /tmp/garradin-build/src.zip --name garradin
unzip -d /tmp/garradin-build /tmp/garradin-build/src.zip
|
|
|
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
dev-server:
php -S localhost:8082 -t www www/_route.php
test:
find . -name '*.php' -print0 | xargs -0 -n1 php -l > /dev/null
phpstan:
phpstan.phar analyze -c ../tests/phpstan.neon include www
release: test minify
$(eval VERSION=$(shell cat VERSION))
rm -rf /tmp/garradin-build
mkdir -p /tmp/garradin-build
fossil zip ${VERSION} /tmp/garradin-build/src.zip --name garradin
unzip -d /tmp/garradin-build /tmp/garradin-build/src.zip
|