-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathproject.clj
68 lines (59 loc) · 2.87 KB
/
project.clj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
(defproject simplify-debts "1.0"
:description "Simplify debts by minimizing transactions"
:url "https://simplify-debts.peruna.fi/"
:license {:name "MIT"
:url "https://github.com/ykarikos/simplify-debts-web/blob/master/LICENSE"}
:dependencies [[org.clojure/clojure "1.9.0"]
[org.clojure/clojurescript "1.10.238"]
[reagent "0.7.0"]
[lein-doo "0.1.10"]
;; OpenJDK11 seems to require jakarta.xml.bind-api
;; and jaxb-runtime as explicit requirements.
[jakarta.xml.bind/jakarta.xml.bind-api "2.3.2"]
[org.glassfish.jaxb/jaxb-runtime "2.3.2"]
[alandipert/storage-atom "1.2.4"]]
:plugins [[lein-cljsbuild "1.1.5"]
[lein-figwheel "0.5.15"]
[lein-doo "0.1.10"]]
:min-lein-version "2.5.0"
:clean-targets ^{:protect false}
[:target-path
[:cljsbuild :builds :app :compiler :output-dir]
[:cljsbuild :builds :app :compiler :output-to]]
:resource-paths ["docs"]
:figwheel {:http-server-root "."
:nrepl-port 7002
:nrepl-middleware ["cemerick.piggieback/wrap-cljs-repl"]
:css-dirs ["docs/css"]}
:cljsbuild {:test-commands {"test" ["lein" "doo" "phantom" "test" "auto"]}
:builds {:app
{:source-paths ["src" "env/dev/cljs"]
:compiler
{:main "simplify-debts.dev"
:output-to "docs/js/app.js"
:output-dir "docs/js/out"
:asset-path "js/out"
:source-map true
:optimizations :none
:pretty-print true}
:figwheel
{:on-jsload "simplify-debts.core/mount-root"
:open-urls ["http://localhost:3449/index.html"]}}
:release
{:source-paths ["src" "env/prod/cljs"]
:compiler
{:output-to "docs/js/app.js"
:output-dir "docs/js/release"
:asset-path "js/out"
:optimizations :advanced
:pretty-print false}}
:test
{:source-paths ["src" "test"]
:compiler {:main runners.doo
:optimizations :none
:output-to "resources/docs/cljs/tests/all-tests.js"}}}}
:aliases {"package" ["do" "clean" ["cljsbuild" "once" "release"]]}
:profiles {:dev {:dependencies [[binaryage/devtools "0.9.7"]
[figwheel-sidecar "0.5.15"]
[org.clojure/tools.nrepl "0.2.13"]
[com.cemerick/piggieback "0.2.2"]]}})