2016-12-15 16:05:02 +11:00
|
|
|
(defproject simple "0.9.0"
|
2016-06-14 22:46:38 +10:00
|
|
|
:dependencies [[org.clojure/clojure "1.8.0"]
|
2017-08-17 21:40:58 +10:00
|
|
|
[org.clojure/clojurescript "1.9.908"]
|
2017-08-17 01:08:39 +10:00
|
|
|
[reagent "0.7.0"]
|
2017-08-17 21:11:27 +10:00
|
|
|
[re-frame "0.10.1"]]
|
2015-02-25 14:31:11 +13:00
|
|
|
|
2017-08-17 21:40:58 +10:00
|
|
|
:plugins [[lein-cljsbuild "1.1.5"]
|
|
|
|
[lein-figwheel "0.5.13"]]
|
2015-02-25 14:31:11 +13:00
|
|
|
|
|
|
|
:hooks [leiningen.cljsbuild]
|
|
|
|
|
|
|
|
:profiles {:dev {:cljsbuild
|
2016-12-08 12:22:08 +13:00
|
|
|
{:builds {:client {:figwheel {:on-jsload "simple.core/run"}
|
|
|
|
:compiler {:main "simple.core"
|
2015-05-12 13:17:31 +10:00
|
|
|
:asset-path "js"
|
|
|
|
:optimizations :none
|
|
|
|
:source-map true
|
|
|
|
:source-map-timestamp true}}}}}
|
2015-02-25 14:31:11 +13:00
|
|
|
|
|
|
|
:prod {:cljsbuild
|
2015-05-12 13:17:31 +10:00
|
|
|
{:builds {:client {:compiler {:optimizations :advanced
|
|
|
|
:elide-asserts true
|
|
|
|
:pretty-print false}}}}}}
|
2015-02-25 14:31:11 +13:00
|
|
|
|
|
|
|
:figwheel {:repl false}
|
|
|
|
|
2015-05-08 15:01:19 +10:00
|
|
|
:clean-targets ^{:protect false} ["resources/public/js"]
|
|
|
|
|
2015-02-25 14:31:11 +13:00
|
|
|
:cljsbuild {:builds {:client {:source-paths ["src"]
|
2015-05-12 13:17:31 +10:00
|
|
|
:compiler {:output-dir "resources/public/js"
|
|
|
|
:output-to "resources/public/js/client.js"}}}})
|