From f24a80468eddac08551a36b334dc83792ccc43f6 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Sat, 16 Apr 2016 11:11:28 +0300 Subject: [PATCH] Improve tests build scripts. --- scripts/build-tests.clj | 7 +++---- scripts/watch-tests.clj | 4 ++-- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/scripts/build-tests.clj b/scripts/build-tests.clj index c5cbd2ceb..b2d852b28 100644 --- a/scripts/build-tests.clj +++ b/scripts/build-tests.clj @@ -10,10 +10,9 @@ :output-dir "out" :parallel-build false :optimizations :none - :closure-defines {"uxbox.repo.core.url" - "https://test.uxbox.io/api"} - :language-in :ecmascript5 - :language-out :ecmascript5 + :pretty-print true :target :nodejs + :language-in :ecmascript6 + :language-out :ecmascript5 :verbose true}) (println "... done. Elapsed" (/ (- (System/nanoTime) start) 1e9) "seconds")) diff --git a/scripts/watch-tests.clj b/scripts/watch-tests.clj index ebd9ee120..9826a1d4b 100644 --- a/scripts/watch-tests.clj +++ b/scripts/watch-tests.clj @@ -5,9 +5,9 @@ :output-to "out/tests.js" :output-dir "out" :parallel-build false - :optimizations :simple + :optimizations :none :pretty-print true :target :nodejs - :language-in :ecmascript5 + :language-in :ecmascript6 :language-out :ecmascript5 :verbose true})