-
-
Notifications
You must be signed in to change notification settings - Fork 194
/
project.clj
102 lines (87 loc) · 3.41 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
(defproject com.taoensso/sente "1.20.0"
:author "Peter Taoussanis <https://www.taoensso.com>"
:description "Realtime web comms library for Clojure/Script"
:url "https://github.com/taoensso/sente"
:license
{:name "Eclipse Public License - v 1.0"
:url "https://www.eclipse.org/legal/epl-v10.html"}
:dependencies
[[org.clojure/core.async "1.7.701"]
[com.taoensso/encore "3.133.0"]
[org.java-websocket/Java-WebSocket "1.6.0"]
[org.clojure/tools.reader "1.5.0"]
[com.taoensso/timbre "6.6.1"]]
:test-paths ["test" #_"src"]
:profiles
{;; :default [:base :system :user :provided :dev]
:provided {:dependencies [[org.clojure/clojurescript "1.11.132"]
[org.clojure/clojure "1.11.1"]]}
:c1.12 {:dependencies [[org.clojure/clojure "1.12.0"]]}
:c1.11 {:dependencies [[org.clojure/clojure "1.11.1"]]}
:c1.10 {:dependencies [[org.clojure/clojure "1.10.2"]]}
:graal-tests
{:source-paths ["test"]
:main taoensso.graal-tests
:aot [taoensso.graal-tests]
:uberjar-name "graal-tests.jar"
:dependencies
[[org.clojure/clojure "1.11.1"]
[com.github.clj-easy/graal-build-time "1.0.5"]]}
:community
{:dependencies
[[org.immutant/web "2.1.10"]
[nginx-clojure "0.6.0"]
[aleph "0.8.2"]
[macchiato/core "0.2.23"] ; 0.2.24 seems to fail?
[luminus/ring-undertow-adapter "1.4.0"]
[info.sunng/ring-jetty9-adapter "0.36.1"]
[ring/ring-core "1.13.0"]
[ring/ring-jetty-adapter "1.13.0"]
[org.ring-clojure/ring-websocket-protocols "1.13.0"]]
;; For nginx-clojure on Java 17+,
;; Ref. https://github.com/nginx-clojure/nginx-clojure/issues/273
:jvm-opts
["--add-opens=java.base/java.lang=ALL-UNNAMED"
"--add-opens=java.base/sun.nio.cs=ALL-UNNAMED"
"--add-opens=java.base/sun.nio.ch=ALL-UNNAMED"]}
:dev [:dev+ :community]
:dev+
{:jvm-opts ["-server" "-Dtaoensso.elide-deprecated=true"]
:global-vars
{*warn-on-reflection* true
*assert* true
*unchecked-math* false #_:warn-on-boxed}
:dependencies
[[com.cognitect/transit-clj "1.0.333"]
[com.cognitect/transit-cljs "0.8.280"]
[org.clojure/test.check "1.1.1"]
[http-kit "2.8.0"]]
:plugins
[[lein-pprint "1.3.2"]
[lein-ancient "0.7.0"]
[lein-cljsbuild "1.1.8"]
[com.taoensso.forks/lein-codox "0.10.11"]]
:codox
{:language #{:clojure :clojurescript}
:base-language :clojure}}}
:cljsbuild
{:test-commands {"node" ["node" "target/test.js"]}
:builds
[{:id :main
:source-paths ["src" "test"]
:compiler {:output-to "target/main.js"
:optimizations :advanced
:pretty-print false}}
{:id :test
:source-paths [#_"src" "test"]
:compiler
{:output-to "target/test.js"
:target :nodejs
:optimizations :simple}}]}
:aliases
{"start-dev" ["with-profile" "+dev" "repl" ":headless"]
"build-once" ["do" ["clean"] ["cljsbuild" "once"]]
"deploy-lib" ["do" ["build-once"] ["deploy" "clojars"] ["install"]]
"test-clj" ["with-profile" "+c1.12:+c1.11:+c1.10" "test"]
"test-cljs" ["with-profile" "+c1.12" "cljsbuild" "test"]
"test-all" ["do" ["clean"] ["test-clj"] ["test-cljs"]]})