-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdeps.edn
More file actions
57 lines (50 loc) · 3.63 KB
/
Copy pathdeps.edn
File metadata and controls
57 lines (50 loc) · 3.63 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
{:paths ["src" "resources"]
:deps {org.clojure/clojure {:mvn/version "1.12.0"}
org.clojure/clojurescript {:mvn/version "1.11.132"}}
:aliases {:build {:deps {io.github.seancorfield/build-clj
{:git/tag "v0.9.2" :git/sha "9c9f078"}}
:ns-default build}
:dev {:extra-paths ["dev"]
:jvm-opts ["-DENVIRONMENT=development"]}
:test {:extra-paths ["test"]
:extra-deps {org.clojure/core.async {:mvn/version "1.6.681"}
org.clojure/test.check {:mvn/version "1.1.1"}}}
:project/test-cljs {:main-opts ["-m" "cljs-test-runner.main"]
:extra-deps {olical/cljs-test-runner {:mvn/version "3.8.1"}}
:jvm-opts ["-DENVIRONMENT=test"]}
:project/test-clj {: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
:jvm-opts ["-DENVIRONMENT=test"]}
;; for interactive test running
:project/watch-test {:extra-deps {lambdaisland/kaocha {:mvn/version "1.91.1392"}}
:exec-fn kaocha.runner/exec-fn
:exec-args {:watch? true
:skip-meta :slow
:fail-fast? true}}
;; --------------------------- Build/Deploy Tasks ----------------------------
;; Bump the version by a patch and generate a corresponding pom file with the groupId "lambda-toolshed"
;; $ clojure -M:project/pom patch -t IncrementType
:project/pom {:main-opts ["-m" "garamond.main" "--group-id" "lambda-toolshed"
"--scm-url" "https://github.com/lambda-toolshed/papillon" "-p"]
;; because we don't need the project's dependencies loaded -graph parses the deps.edn "out-of-band":
:replace-deps {com.workframe/garamond {:mvn/version "0.4.0"}}}
:lint/kondo {:extra-deps {clj-kondo/clj-kondo {:mvn/version "RELEASE"}}
:main-opts ["-m" "clj-kondo.main" "--lint" "src" "--lint" "test" "--lint" "examples"]}
:project/format {:extra-deps {cljfmt/cljfmt {:mvn/version "0.9.2"}}
:main-opts ["-m" "cljfmt.main" "fix"]}
;; Reference: https://github.com/liquidz/antq
;; Example Usage: clj -M:outdated
:outdated {:deps {com.github.liquidz/antq {:mvn/version "RELEASE"}
org.slf4j/slf4j-nop {:mvn/version "RELEASE"}}
:main-opts ["-m" "antq.core" "--skip=github-action"]}
:project/format-check {:extra-deps {cljfmt/cljfmt {:mvn/version "0.9.2"}}
:main-opts ["-m" "cljfmt.main" "check"]}
:project/cljs-nrepl {:main-opts ["-m" "nrepl.cmdline" "--middleware" "[\"cider.piggieback/wrap-cljs-repl\"]"]
:extra-deps {nrepl/nrepl {:mvn/version "1.3.0"}
cider/piggieback {:mvn/version "0.5.3"}}}
:project/nrepl {:main-opts ["-m" "nrepl.cmdline" "--middleware" "[\"cider.nrepl/cider-middleware\"]"]
:extra-deps {nrepl/nrepl {:mvn/version "1.3.0"}
cider/cider-nrepl {:mvn/version "0.50.2"}}
:jvm-opts ["-DENVIRONMENT=staging"]}}}