aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorWilly Micieli <micieli@laposte.net>2019-02-24 17:54:09 +0100
committerWilly Micieli <micieli@laposte.net>2019-02-24 17:54:09 +0100
commit3850a9f5cab560a279c342ab091752f920dcb560 (patch)
tree443815e38aa5e97a14ebb3093a82eb0f492ac7a9 /Makefile
parent1a8e6f6dddf7bcd8b9d3104d35da39c523c50eac (diff)
downloadimperium-3850a9f5cab560a279c342ab091752f920dcb560.zip
imperium-3850a9f5cab560a279c342ab091752f920dcb560.tar.gz
add tests
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 7c8b48f..8a09818 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-.PHONY:mysql pgsql sqlite router form views cover clean dbs seed migrate disable enable send dir config session flash app trans csrf hash
+.PHONY:mysql pgsql sqlite router form views cover clean dbs seed migrate disable enable send dir config session flash app trans csrf hash collection
BASE=zen
@@ -27,7 +27,7 @@ ifeq (send,$(firstword $(MAKECMDGOALS)))
$(eval $(COMMIT):;@:)
endif
-all: vendor mysql pgsql sqlite router form dir config session flash app trans csrf hash
+all: vendor mysql pgsql sqlite router form dir config session flash app trans csrf hash collection
mysql: seed
@install -D $@.yaml config/db.yaml
@@ -60,6 +60,9 @@ trans:
@$(UNIT) tests/$@ $(COVERAGE) coverage/$@
hash:
@$(UNIT) tests/$@ $(COVERAGE) coverage/$@
+collection:
+ @install -D mysql.yaml config/db.yaml
+ @$(UNIT) tests/$@ $(COVERAGE) coverage/$@
send: all
git add .
git commit -m "$(COMMIT)" -n