summaryrefslogtreecommitdiff
path: root/lib/querypath/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/querypath/Makefile')
-rw-r--r--lib/querypath/Makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/lib/querypath/Makefile b/lib/querypath/Makefile
new file mode 100644
index 0000000..7267813
--- /dev/null
+++ b/lib/querypath/Makefile
@@ -0,0 +1,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