From f55fae48737204f28f25aa3949dac7b09a8c3723 Mon Sep 17 00:00:00 2001 From: gered Date: Sun, 28 Dec 2014 18:23:59 -0500 Subject: [PATCH] project.clj tweaks --- src/leiningen/new/yawt/project.clj | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/leiningen/new/yawt/project.clj b/src/leiningen/new/yawt/project.clj index b96f7a3..c682c14 100644 --- a/src/leiningen/new/yawt/project.clj +++ b/src/leiningen/new/yawt/project.clj @@ -60,7 +60,6 @@ :compiler {:output-to "resources/public/cljs/main.js" :source-map "resources/public/cljs/main.js.map" :output-dir "resources/public/cljs/target" - :externs ["externs/jquery.js"] :optimizations :none :pretty-print true}}}} @@ -74,6 +73,7 @@ :builds {:main {:compiler ^:replace {:output-to "resources/public/cljs/main.js" + :externs ["externs/jquery.js"] :optimizations :advanced :pretty-print false}}}} {{/webapp}} @@ -91,5 +91,6 @@ (pjstadig.humane-test-output/activate!)]} :repl {:resource-paths ["env-resources/repl"] :source-paths ["dev"]}} + :aliases {"uberjar" ["do" "clean" {{#webapp}}["cljsbuild" "clean"]{{/webapp}} "uberjar"]{{#webapp}} - "mkcljs" ["do" ["cljsbuild" "clean"] ["cljsbuild" "once"] ["cljsbuild" "auto"]]{{/webapp}}}) \ No newline at end of file + "cljsdev" ["do" ["cljsbuild" "clean"] ["cljsbuild" "once"] ["cljsbuild" "auto"]]{{/webapp}}}) \ No newline at end of file