diff --git a/.travis.yml b/.travis.yml index 718e1b4b6..6404db1cc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,6 +4,7 @@ sudo: false script: - ./scripts/build + - node --version - node out/tests.js jdk: diff --git a/package.json b/package.json index 8e1cf71b5..b92b19fb6 100644 --- a/package.json +++ b/package.json @@ -14,6 +14,7 @@ "dist": "gulp dist", "figwheel": "./scripts/figwheel", "test-watch": "./scripts/watch", + "test-build": "./scripts/build", "docker": "sudo docker run -ti -v `pwd`:/home/uxbox/uxbox -v $HOME/.m2:/home/uxbox/.m2 -p 3449:3449 uxbox tmux" }, diff --git a/scripts/build.clj b/scripts/build.clj index 116aa3013..7205f1420 100644 --- a/scripts/build.clj +++ b/scripts/build.clj @@ -16,5 +16,6 @@ :optimizations :advanced :language-in :ecmascript5 :language-out :ecmascript5 + :target :nodejs :verbose true}) (println "... done. Elapsed" (/ (- (System/nanoTime) start) 1e9) "seconds"))