summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-05-07 11:50:38 +0200
committerBernhard Posselt <nukeawhale@gmail.com>2013-05-07 11:50:38 +0200
commit0d56e6e7e449eff5e75acb378a01de1949ac7286 (patch)
treeab2243a522a684f1f8ad41d595b6b9822f52deda /Makefile
parent2b211334183d3ae61e42f3f6c4ba6d90b06ca733 (diff)
added commands for unittests that run before building the package
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 17d933c00..c711f82a9 100644
--- a/Makefile
+++ b/Makefile
@@ -30,16 +30,22 @@ clean:
rm -rf $(build_directory)
-dist: clean
+dist: clean test
mkdir -p $(build_directory)
git archive HEAD --format=zip --prefix=$(app_name)/ > $(package_name).zip
test: unit integration acceptance
+
unit:
+ phpunit tests/unit
+
integration:
+ phpunit tests/integration
+
acceptance:
+ # TODO