-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeps.edn
149 lines (119 loc) · 5.02 KB
/
deps.edn
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
141
142
143
144
145
146
147
148
149
;; The deps.edn file describes the information needed to build a classpath.
;;
;; When using the `clojure` or `clj` script, there are several deps.edn files
;; that are combined:
;; - install-level
;; - user level (this file)
;; - project level (current directory when invoked)
;;
;; For all attributes other than :paths, these config files are merged left to right.
;; Only the last :paths is kept and others are dropped.
{;; Paths
;; Directories in the current project to include in the classpath
;; :paths ["src"]
;; External dependencies
;;
;; - formatting: {dev.weavejester/cljfmt {:mvn/version "0.11.2"}}
;; :deps {
;; org.clojure/clojure {:mvn/version "1.10.1"}
;; }
;; Aliases
;; resolve-deps aliases (-R) affect dependency resolution, options:
;; :extra-deps - specifies extra deps to add to :deps
;; :override-deps - specifies a coordinate to use instead of that in :deps
;; :default-deps - specifies a coordinate to use for a lib if one isn't found
;; make-classpath aliases (-C) affect the classpath generation, options:
;; :extra-paths - vector of additional paths to add to the classpath
;; :classpath-overrides - map of lib to path that overrides the result of resolving deps
;; :aliases {
;; :deps {:extra-deps {org.clojure/tools.deps.alpha {:mvn/version "0.8.709"}}}
;; :test {:extra-paths ["test"]}
;; }
:aliases
{
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Commands ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;; Run with clj -M, for example: clj -M:cider-nrepl
;;
;; See https://github.com/bhauman/rebel-readline
;; Start a Rebel Readline REPL.
:rebel
{:extra-deps {com.bhauman/rebel-readline {:mvn/version "0.1.4"}}
:main-opts ["-m" "rebel-readline.main"]}
;; See https://nrepl.org/
;; Start a basic nREPL server on a random available port.
:nrepl
{:extra-deps {nrepl/nrepl {:mvn/version "1.0.0"}}
:main-opts ["-m" "nrepl.cmdline"]}
;; See https://nrepl.org/
;; Start a CIDER-enhanced nREPL server on a random available port.
:cider-nrepl
{:extra-deps {nrepl/nrepl {:mvn/version "1.0.0"}
cider/cider-nrepl {:mvn/version "0.42.1"}}
:main-opts ["--main" "nrepl.cmdline"
"--middleware" "[cider.nrepl/cider-middleware]"
"--interactive"]}
;; See https://practical.li/clojure/clojure-cli/repl/#__tabbed_1_2
:cider-rebel
{:extra-deps {nrepl/nrepl {:mvn/version "1.0.0"}
cider/cider-nrepl {:mvn/version "0.42.1"}
com.bhauman/rebel-readline {:mvn/version "0.1.4"}}
:main-opts ["-e" "(apply require clojure.main/repl-requires)"
"--main" "nrepl.cmdline"
"--middleware" "[cider.nrepl/cider-middleware]"
"--interactive"
"-f" "rebel-readline.main/-main"]}
:test
{:extra-paths ["test"]
:extra-deps {io.github.cognitect-labs/test-runner {:git/tag "v0.5.1" :git/sha "dfb30dd"}}
:main-opts ["-m" "cognitect.test-runner"]
:exec-fn cognitect.test-runner.api/test}
:repl-server
{:exec-fn clojure.core.server/start-server
:exec-args {:name "repl-server"
:port 5555
:accept clojure.core.server/repl
:server-daemon false}}
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Tools ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;; Run with clj -T, for example: clj -T:build
;;
:fmt
{:deps {dev.weavejester/cljfmt {:mvn/version "0.12.0"}}
:ns-default cljfmt.tool}
:build
{:deps {io.github.clojure/tools.build {:git/tag "v0.9.6"
:git/sha "8e78bcc"}}
:ns-default build}
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Extra deps ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; See https://developers.google.com/tink
:tink
{:extra-deps {com.google.crypto.tink/tink {:mvn/version "1.12.0"}}}
;; See https://github.com/djblue/portal
:portal
{:extra-deps {djblue/portal {:mvn/version "RELEASE"}}}
;; See https://github.com/stuarthalloway/reflector
:reflect
{:extra-deps {io.github.stuarthalloway/reflector
{:git/url "https://github.com/stuarthalloway/reflector"
:sha "93a0c19b4526c1180959e940202928d35e5c3cef"}}}
:java-time
{:extra-deps {clojure.java-time/clojure.java-time {:mvn/version "1.4.2"}}}
:core-async
{:extra-deps {org.clojure/core.async {:mvn/version "1.6.681"}}}
:cljs
{:extra-deps {org.clojure/clojurescript {:mvn/version "1.11.54"}}}
;; Prevents auto-formatter from wrapping.
}
;; Provider attributes
;; :mvn/repos {
;; "central" {:url "https://repo1.maven.org/maven2/"}
;; "clojars" {:url "https://repo.clojars.org/"}
;; }
}