You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
96 lines
4.4 KiB
96 lines
4.4 KiB
(defproject twister-renyan "0.1.0-SNAPSHOT" |
|
:description "FIXME: write description" |
|
:url "http://example.com/FIXME" |
|
:license {:name "Eclipse Public License" |
|
:url "http://www.eclipse.org/legal/epl-v10.html"} |
|
|
|
:dependencies [[org.clojure/clojure "1.7.0"] |
|
[ring-server "0.4.0"] |
|
[reagent "0.5.1"] |
|
[reagent-forms "0.5.11"] |
|
[reagent-utils "0.1.5"] |
|
[ring "1.4.0"] |
|
[ring/ring-defaults "0.1.5"] |
|
[prone "0.8.2"] |
|
[compojure "1.4.0"] |
|
[hiccup "1.0.5"] |
|
[environ "1.0.1"] |
|
[org.clojure/clojurescript "1.7.122" :scope "provided"] |
|
[secretary "1.2.3"]] |
|
|
|
:plugins [[lein-environ "1.0.1"] |
|
[lein-asset-minifier "0.2.2"]] |
|
|
|
:ring {:handler twister-renyan.handler/app |
|
:uberwar-name "twister-renyan.war"} |
|
|
|
:min-lein-version "2.5.0" |
|
|
|
:uberjar-name "twister-renyan.jar" |
|
|
|
:main twister-renyan.server |
|
|
|
:clean-targets ^{:protect false} [:target-path |
|
[:cljsbuild :builds :app :compiler :output-dir] |
|
[:cljsbuild :builds :app :compiler :output-to]] |
|
|
|
:source-paths ["src/clj" "src/cljc"] |
|
|
|
:minify-assets |
|
{:assets |
|
{"resources/public/css/site.min.css" "resources/public/css/site.css"}} |
|
|
|
:cljsbuild {:builds {:app {:source-paths ["src/cljs" "src/cljc"] |
|
:compiler {:output-to "resources/public/js/app.js" |
|
:output-dir "resources/public/js/out" |
|
:asset-path "js/out" |
|
:optimizations :none |
|
:pretty-print true}}}} |
|
|
|
:profiles {:dev {:repl-options {:init-ns twister-renyan.repl} |
|
|
|
:dependencies [[ring/ring-mock "0.3.0"] |
|
[ring/ring-devel "1.4.0"] |
|
[lein-figwheel "0.4.0"] |
|
[org.clojure/tools.nrepl "0.2.11"] |
|
[pjstadig/humane-test-output "0.7.0"]] |
|
|
|
:source-paths ["env/dev/clj"] |
|
:plugins [[lein-figwheel "0.4.0"] |
|
[lein-cljsbuild "1.0.6"] |
|
[com.cemerick/clojurescript.test "0.3.3"]] |
|
|
|
:injections [(require 'pjstadig.humane-test-output) |
|
(pjstadig.humane-test-output/activate!)] |
|
|
|
:figwheel {:http-server-root "public" |
|
:server-port 3449 |
|
:nrepl-port 7002 |
|
:css-dirs ["resources/public/css"] |
|
:ring-handler twister-renyan.handler/app} |
|
|
|
:env {:dev true} |
|
|
|
:cljsbuild {:builds {:app {:source-paths ["env/dev/cljs"] |
|
:compiler {:main "twister-renyan.dev" |
|
:source-map true}} |
|
:test {:source-paths ["src/cljs" "src/cljc" "test/cljs"] |
|
:compiler {:output-to "target/test.js" |
|
:optimizations :whitespace |
|
:pretty-print true}}} |
|
:test-commands {"unit" ["phantomjs" :runner |
|
"test/vendor/es5-shim.js" |
|
"test/vendor/es5-sham.js" |
|
"test/vendor/console-polyfill.js" |
|
"target/test.js"]}}} |
|
|
|
:uberjar {:hooks [leiningen.cljsbuild minify-assets.plugin/hooks] |
|
:env {:production true} |
|
:aot :all |
|
:omit-source true |
|
:cljsbuild {:jar true |
|
:builds {:app |
|
{:source-paths ["env/prod/cljs"] |
|
:compiler |
|
{:optimizations :advanced |
|
:pretty-print false}}}}}})
|
|
|