Overview
Comment:Update makefile to use system-wide phpstan
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | stable | 1.0.0-rc15
Files: files | file ages | folders
SHA1: 1481eb3516f95a55f998c379abe339c810ca098c
User & Date: bohwaz on 2020-12-17 18:49:10
Other Links: manifest | tags
Context
2020-12-18
14:52
Make sure that all values are filled check-in: 0eeee9611e user: bohwaz tags: trunk, stable
2020-12-17
18:49
Update makefile to use system-wide phpstan check-in: 1481eb3516 user: bohwaz tags: trunk, stable, 1.0.0-rc15
18:42
Remove defaults, they were creating more bugs than resolving anything check-in: ed1b864ad5 user: bohwaz tags: trunk
Changes

Modified src/Makefile from [6c4f6dc2aa] to [47f255ea71].

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