refactor some commonly used code into a trait
[pharext/pharext] / Makefile
1 #
2 # build bin/pharext
3 #
4
5 all: bin/pharext
6
7 bin/pharext: src/* src/pharext/*
8 @for file in $?; do php -l $$file | sed -ne '/^No syntax errors/!p' && exit $${PIPESTATUS[0]}; done
9 phpunit tests
10 php -d phar.readonly=0 build/create-phar.php
11 chmod +x $@
12
13 test:
14 phpunit tests
15
16 clean:
17 rm bin/pharext*
18
19 .PHONY: all clean test
20 .SUFFIXES: .php