forked from BYU-ODH/clojure-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproject.clj
More file actions
129 lines (118 loc) · 5.52 KB
/
project.clj
File metadata and controls
129 lines (118 loc) · 5.52 KB
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
(defproject ZZZZ "0.1.0-SNAPSHOT"
:description "Default template for a BYU ODH Clojure Program"
:url "http://example.com/FIXME"
:dependencies [[byu-odh/byu-cas "1"]
[camel-snake-kebab "0.4.1"]
[cheshire "5.10.0"]
[clj-http "3.10.0"]
[com.mchange/c3p0 "0.9.5.5"]
[cprop "0.1.16"]
[day8.re-frame/http-fx "0.1.6"]
[garden "1.3.9"]
[hiccup "1.0.5"]
[hikari-cp "2.11.0"]
[honeysql "0.9.10"]
[luminus-immutant "0.2.5"]
[luminus-migrations "0.6.7"]
[metosin/compojure-api "1.1.13"]
[metosin/ring-http-response "0.9.1"]
[mount "0.1.16"]
[com.taoensso/timbre "4.10.0"]
[org.clojure/clojure "1.10.1"]
[org.clojure/clojurescript "1.10.520" :scope "provided"]
[org.clojure/tools.cli "1.0.194"]
[org.clojure/tools.logging "1.0.0"]
[org.postgresql/postgresql "42.2.12"]
[metosin/reitit "0.4.2"]
[metosin/reitit-schema "0.4.2"]
[metosin/reitit-frontend "0.4.2"]
[org.webjars.npm/bulma "0.8.2"]
[org.webjars/font-awesome "5.13.0"]
[org.webjars/webjars-locator-jboss-vfs "0.1.0"]
[ring-middleware-format "0.7.4"]
[ring-webjars "0.2.0"]
[ring/ring-defaults "0.3.2"]
[tick "0.4.20-alpha"]
[reformation "6"]
[re-frame "0.12.0"]
[byu-odh/retabled "11"]]
:min-lein-version "2.0.0"
:eastwood {:linters [:all]
:exclude-linters [:unused-private-vars :unused-fn-args :duplicate-params :unused-locals :keyword-typos :unused-namespaces]
:exclude-namespaces [:test-paths]}
:test-paths ["test/clj/unit" "test/clj/usecase"]
:jvm-opts ["-server" "-Dconf=.lein-env"]
:source-paths ["src/clj" "src/cljc" "src/cljs"]
:resource-paths ["resources" "target/cljsbuild"]
:target-path "target/"
:main ZZZZ.core
:plugins [[lein-cprop "1.0.3"]
[migratus-lein "0.7.2"]
[lein-cljsbuild "1.1.7"]
[lein-immutant "2.1.0"]
[lein-garden "0.3.0"]]
:garden {:builds [{:id "ZZZZ-viz"
:source-path "src/clj/ZZZZ/styles"
;; The var containing your stylesheet:
:stylesheet ZZZZ.styles.style/ZZZZ
:compiler {;; Where to save the file:
:output-to "resources/public/css/style.css"
:pretty-print? true}}]}
:clean-targets ^{:protect false}
[:target-path [:cljsbuild :builds :app :compiler :output-dir] [:cljsbuild :builds :app :compiler :output-to]]
:figwheel {:http-server-root "public"
:nrepl-port 7002
:css-dirs ["resources/public/css"]}
:immutant {:war {:context-path "/"
:name "ZZZZ%t"}}
:test-selectors {:default (complement :integration)
:integration :integration}
:profiles
{:uberjar {:omit-source true
:prep-tasks ["compile" ["cljsbuild" "once" "min"]]
:cljsbuild
{:builds
{:min
{:source-paths ["src/cljc" "src/cljs" "env/prod/cljs"]
:compiler
{:output-to "target/cljsbuild/public/js/app.js"
:externs ["react/externs/react.js"]
:optimizations :advanced
:pretty-print false
:closure-warnings
{:externs-validation :off :non-standard-jsdoc :off}}}}}
:aot :all
:uberjar-name "ZZZZ.jar"
:source-paths ["env/prod/clj"]
:resource-paths ["env/prod/resources"]}
:dev [:project/dev :profiles/dev]
:test [:project/dev :project/test :profiles/test]
:project/dev {:dependencies [[binaryage/devtools "1.0.0"]
[etaoin "0.3.6"]
[figwheel-sidecar "0.5.19"]
[garden-gnome "0.1.0"]
[pjstadig/humane-test-output "0.10.0"]
[prone "2020-01-17"]
[ring/ring-devel "1.8.0"]
[ring/ring-mock "0.4.0"]]
:plugins [[com.jakemccrary/lein-test-refresh "0.14.0"]
[lein-figwheel "0.5.19"]]
:cljsbuild
{:builds
{:app
{:source-paths ["src/cljs" "src/cljc" "env/dev/cljs"]
:compiler
{:main "ZZZZ.app"
:asset-path "/js/out"
:output-to "target/cljsbuild/public/js/app.js"
:output-dir "target/cljsbuild/public/js/out"
:source-map true
:optimizations :none
:pretty-print true}}}}
:source-paths ["env/dev/clj" "test/clj/unit" "test/clj/usecase" "test/cljs"]
:resource-paths ["env/dev/resources"]
:injections [(require 'pjstadig.humane-test-output)
(pjstadig.humane-test-output/activate!)]}
:project/test {:resource-paths ["env/test/resources"]}
:profiles/dev {:repl-options {:init-ns user}}
:profiles/test {}})