aboutsummaryrefslogtreecommitdiff
path: root/project.clj
diff options
context:
space:
mode:
authorGabriel Giovanini <gabrielg.desouza@gmail.com>2019-06-22 15:40:06 +0200
committerGabriel Giovanini <gabrielg.desouza@gmail.com>2019-06-22 15:40:06 +0200
commitddce2bd3c66a62cb96b2b7ef0602c00c586c429b (patch)
treeb5cd3261c2a65fbd131d78b2ecce2f9100a21104 /project.clj
downloadgenpass-ddce2bd3c66a62cb96b2b7ef0602c00c586c429b.tar.gz
genpass-ddce2bd3c66a62cb96b2b7ef0602c00c586c429b.tar.bz2
genpass-ddce2bd3c66a62cb96b2b7ef0602c00c586c429b.zip
Bootstrap web site
Diffstat (limited to 'project.clj')
-rw-r--r--project.clj57
1 files changed, 57 insertions, 0 deletions
diff --git a/project.clj b/project.clj
new file mode 100644
index 0000000..1134cab
--- /dev/null
+++ b/project.clj
@@ -0,0 +1,57 @@
+(defproject genpass "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.10.1"]
+ [org.clojure/clojurescript "1.10.520"]
+ [reagent "0.8.1"]]
+
+ :plugins [[lein-cljsbuild "1.1.7"]
+ [lein-figwheel "0.5.18"]
+ [lein-cloverage "1.1.1"]]
+
+ :clean-targets ^{:protect false}
+
+ [:target-path
+ [:cljsbuild :builds :app :compiler :output-dir]
+ [:cljsbuild :builds :app :compiler :output-to]]
+
+ :resource-paths ["public"]
+
+
+ :figwheel {:http-server-root "."
+ :nrepl-port 7002
+ :nrepl-middleware [cider.piggieback/wrap-cljs-repl]
+ :css-dirs ["public/css"]}
+
+ :cljsbuild {:builds {:app
+ {:source-paths ["src" "env/dev/cljs"]
+ :compiler
+ {:main "genpass.dev"
+ :output-to "public/js/app.js"
+ :output-dir "public/js/out"
+ :asset-path "js/out"
+ :source-map true
+ :optimizations :none
+ :pretty-print true}
+ :figwheel
+ {:on-jsload "genpass.core/mount-root"
+ :open-urls ["http://localhost:3449/index.html"]}}
+ :release
+ {:source-paths ["src" "env/prod/cljs"]
+ :compiler
+ {:output-to "public/js/app.js"
+ :output-dir "public/js/release"
+ :optimizations :advanced
+ :infer-externs true
+ :pretty-print false}}}}
+
+ :aliases {"package" ["do" "clean" ["cljsbuild" "once" "release"]]}
+
+ :profiles {:dev {:source-paths ["src" "env/dev/clj"]
+ :dependencies [[binaryage/devtools "0.9.10"]
+ [figwheel-sidecar "0.5.18"]
+ [nrepl "0.6.0"]
+ [cider/piggieback "0.4.1"]]}})