-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.clj
140 lines (126 loc) · 5.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
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
130
131
132
133
134
135
136
137
138
139
140
(defproject holdem "0.1.0-SNAPSHOT"
:description "Texas Hold'em Web App"
:url "https://github.com/angelini/holdem"
:dependencies [[buddy "2.0.0"]
[clj-time "0.14.3"]
[cljs-ajax "0.5.2"]
[com.google.cloud/google-cloud-logging-logback "0.56.0-alpha"
:exclusions [com.google.protobuf/protobuf-java io.grpc/grpc-core io.grpc/grpc-netty-shaded]]
[com.google.guava/guava "20.0"]
[com.google.protobuf/protobuf-java "3.6.0"]
[compojure "1.6.1"]
[conman "0.7.8"]
[cprop "0.1.11"]
[funcool/struct "1.2.0"]
[io.grpc/grpc-core "1.13.1"]
[io.grpc/grpc-netty-shaded "1.13.1" :exclusions [io.grpc/grpc-core]]
[luminus-immutant "0.2.4"]
[luminus-migrations "0.5.0"]
[luminus-nrepl "0.1.4"]
[luminus/ring-ttl-session "0.3.2"]
[markdown-clj "1.0.2"]
[metosin/muuntaja "0.5.0"]
[metosin/ring-http-response "0.9.0"]
[mount "0.1.12"]
[org.clojure/clojure "1.9.0"]
[org.clojure/clojurescript "1.10.238" :scope "provided"
:exclusions [com.google.guava/guava com.google.protobuf/protobuf-java]]
[org.clojure/data.generators "0.1.2"]
[org.clojure/math.combinatorics "0.1.4"]
[org.clojure/tools.cli "0.3.6"]
[org.clojure/tools.logging "0.4.0"]
[org.postgresql/postgresql "42.2.2"]
[org.webjars.bower/tether "1.4.3"]
[org.webjars/bootstrap "4.1.0"]
[org.webjars/font-awesome "5.0.10"]
[reagent "0.8.1"]
[ring-webjars "0.2.0"]
[ring/ring-core "1.6.3"]
[ring/ring-defaults "0.3.1"]
[selmer "1.11.7"]]
:min-lein-version "2.0.0"
:source-paths ["src/clj" "src/cljs" "src/cljc"]
:test-paths ["test/clj"]
:resource-paths ["resources" "target/cljsbuild"]
:target-path "target/%s/"
:main ^:skip-aot holdem.core
:plugins [[lein-cljsbuild "1.1.5"]
[lein-immutant "2.1.0"]]
: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"]
:nrepl-middleware [cemerick.piggieback/wrap-cljs-repl]}
: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-dir "target/cljsbuild/public/js"
:output-to "target/cljsbuild/public/js/app.js"
:source-map "target/cljsbuild/public/js/app.js.map"
:optimizations :advanced
:pretty-print false
:closure-warnings
{:externs-validation :off :non-standard-jsdoc :off}}}}}
:aot :all
:uberjar-name "holdem.jar"
:source-paths ["env/prod/clj"]
:resource-paths ["env/prod/resources"]
:repl-options {:init-ns user
:timeout 120000}}
:dev [:project/dev :profiles/dev]
:test [:project/dev :project/test :profiles/test]
:project/dev {:jvm-opts ["-Dconf=dev-config.edn"]
:dependencies [[binaryage/devtools "0.9.10"]
[com.cemerick/piggieback "0.2.2"]
[doo "0.1.10"]
[expound "0.5.0"]
[figwheel-sidecar "0.5.16"
:exclusions [com.google.guava/guava]]
[pjstadig/humane-test-output "0.8.3"]
[prone "1.5.2"]
[ring/ring-devel "1.6.3"]
[ring/ring-mock "0.3.2"]]
:plugins [[com.jakemccrary/lein-test-refresh "0.19.0"]
[lein-doo "0.1.10"]
[lein-figwheel "0.5.16"]
[org.clojure/clojurescript "1.10.238"]]
:cljsbuild
{:builds
{:app
{:source-paths ["src/cljs" "src/cljc" "env/dev/cljs"]
:figwheel {:on-jsload "holdem.core/mount-components"}
:compiler
{:main "holdem.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}}}}
:doo {:build "test"}
:source-paths ["env/dev/clj"]
:resource-paths ["env/dev/resources"]
:repl-options {:init-ns user}
:injections [(require 'pjstadig.humane-test-output)
(pjstadig.humane-test-output/activate!)]}
:project/test {:jvm-opts ["-Dconf=test-config.edn"]
:resource-paths ["env/test/resources"]
:cljsbuild
{:builds
{:test
{:source-paths ["src/cljc" "src/cljs" "test/cljs"]
:compiler
{:output-to "target/test.js"
:main "holdem.doo-runner"
:optimizations :whitespace
:pretty-print true}}}}
}
:profiles/dev {}
:profiles/test {}})