blob: 7267813d52fb6dea979f52485c7cf3e7b76b2105 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
PROJ := 'QueryPath'
SRCDIR := src
TESTS := test/Tests
VERSION := 'DEV'
DATE := `date "+%Y%m%d"`
VFILES = src/HPCloud
docs :
@cat ./config.doxy | sed 's/-UNSTABLE%/$(VERSION)/' | doxygen -
test :
phpunit --verbose --color --exclude-group=deprecated $(TESTS);
test-group :
phpunit --verbose --color --group=$(GROUP) $(TESTS);
fulltest:
phpunit --color $(TESTS)
lint : $(SRCDIR)
find $(SRCDIR) -iname *.php -exec php -l {} ';'
dist: tar
tar:
@echo $(PROJ)-$(VERSION)-$(DATE).tgz
# @tar -zcvf $(PROJ)-$(VERSION)-$(DATE).tgz $(SRCDIR)
.PHONY: docs test dist tar lint
|