|
|
@@ -3,9 +3,13 @@ install:
|
|
|
test -d $(HOME) || mkdir $(HOME)/.tcms
|
|
|
|
|
|
.PHONY: test
|
|
|
-test:
|
|
|
+test: reset-dummy-data
|
|
|
prove t/*.t
|
|
|
|
|
|
+.PHONY: reset-dummy-data
|
|
|
+reset-dummy-data:
|
|
|
+ cp -f data/DUMMY-dist.json data/DUMMY.json
|
|
|
+
|
|
|
.PHONY: depend
|
|
|
depend:
|
|
|
sudo apt install -y sqlite3 libsqlite3-dev libdbd-sqlite3-perl cpanminus starman libcal-dav-perl libtext-xslate-perl libserver-starter-perl liburl-encode-perl libplack-perl libcal-dav-perl libconfig-tiny-perl libdatetime-format-http-perl libjson-maybexs-perl libuuid-tiny-perl libcapture-tiny-perl libconfig-simple-perl libdbi-perl libfile-slurper-perl libfile-touch-perl libfile-copy-recursive-perl libxml-rss-perl
|