🚧 Add tests option

Signed-off-by: mathieu.brunot <mathieu.brunot@monogramm.io>
This commit is contained in:
mathieu.brunot
2019-06-19 18:31:48 +02:00
parent 2183c37373
commit 0109c3ff1d
5 changed files with 75 additions and 11 deletions

View File

@@ -17,6 +17,8 @@
"dist:assets": "gulp dist",
"prod": "gulp dist --production",
"start": "npm run figwheel",
"build:main": "clojure -Adev tools.clj build main",
"build:view": "clojure -Adev tools.clj build view",
"build:worker": "clojure -Adev tools.clj build worker",
"figwheel": "clojure -Adev tools.clj figwheel"
},

View File

@@ -0,0 +1,10 @@
#!/usr/bin/env bash
source ~/.bashrc
npm install
npm run build:main || exit 1;
npm run build:view || exit 1;
npm run build:worker || exit 1;
# TODO
#node ./out/tests.js