-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeps.edn
106 lines (96 loc) · 4.43 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
{;; ---------------------------------------------------------
:paths
["src" "resources"]
;; ---------------------------------------------------------
;; ---------------------------------------------------------
:deps
{;; Service
http-kit/http-kit {:mvn/version "2.6.0"} ; latest "2.7.0-alpha1"
metosin/reitit {:mvn/version "0.5.13"}
metosin/reitit-dev {:mvn/version "0.5.18"} ; human readable exceptions
;; Logging
;; create events and send to publisher
com.brunobonacci/mulog {:mvn/version "0.9.0"}
;; JSON Console out support
com.brunobonacci/mulog-adv-console {:mvn/version "0.9.0"}
;; Optional: suppress slf4j warning
;; org.slf4j/slf4j-nop {:mvn/version "1.7.32"}
;; System
aero/aero {:mvn/version "1.1.6"}
party.donut/system {:mvn/version "0.0.241"}
org.clojure/clojure {:mvn/version "1.11.2"}}
;; ---------------------------------------------------------
;; ---------------------------------------------------------
:aliases
{;; ------------
;; Practicalli REPL Reloaded workflow
;; Rich Terminal REPL Prompt with nREPL and Portal connections
;; https://practical.li/clojure/clojure-cli/repl-reloaded/
;; clojure -M:repl/reloaded
:repl/reloaded
{:extra-paths ["dev" "test"]
:extra-deps {nrepl/nrepl {:mvn/version "1.1.0"}
cider/cider-nrepl {:mvn/version "0.45.0"}
com.bhauman/rebel-readline {:mvn/version "0.1.4"}
djblue/portal {:mvn/version "0.51.1"} ; portal data inspector
clj-commons/clj-yaml {:mvn/version "1.0.27"} ; portal yaml support (optional)
org.clojure/tools.namespace {:mvn/version "1.4.5"}
org.clojure/tools.trace {:mvn/version "0.7.11"}
org.slf4j/slf4j-nop {:mvn/version "2.0.12"}
com.brunobonacci/mulog {:mvn/version "0.9.0"}
lambdaisland/kaocha {:mvn/version "1.87.1366"}
org.clojure/test.check {:mvn/version "1.1.1"}
ring/ring-mock {:mvn/version "0.4.0"}
criterium/criterium {:mvn/version "0.4.6"}}
:main-opts ["--eval" "(apply require clojure.main/repl-requires)"
"--main" "nrepl.cmdline"
"--middleware" "[cider.nrepl/cider-middleware,portal.nrepl/wrap-portal]"
"--interactive"
"-f" "rebel-readline.main/-main"]}
;; Practicalli REPL Reloaded workflow
;; https://practical.li/clojure/clojure-cli/repl-reloaded/
;; Use with editor command to start a REPL (Jack-in) to include REPL Reloaded tools
:dev/reloaded
{:extra-paths ["dev" "test"]
:extra-deps {djblue/portal {:mvn/version "0.51.1"} ; portal data inspector
clj-commons/clj-yaml {:mvn/version "1.0.27"} ; portal yaml support (optional)
org.clojure/tools.namespace {:mvn/version "1.4.5"}
org.clojure/tools.trace {:mvn/version "0.7.11"}
org.slf4j/slf4j-nop {:mvn/version "2.0.12"}
com.brunobonacci/mulog {:mvn/version "0.9.0"}
lambdaisland/kaocha {:mvn/version "1.87.1366"}
org.clojure/test.check {:mvn/version "1.1.1"}
criterium/criterium {:mvn/version "0.4.6"}}}
;; ------------
;; ------------
;; Clojure.main execution of application
:run/service
{:main-opts ["-m" "practicalli.gameboard.service"]}
;; Clojure.exec execution of specified function
:run/greet
{:exec-fn practicalli.gameboard.service/greet
:exec-args {:name "Clojure"}}
;; ------------
;; ------------
;; Add libraries and paths to support additional test tools
:test/env
{}
;; Test runner - local and CI
;; call with :watch? true to start file watcher and re-run tests on saved changes
:test/run
{:extra-paths ["test"]
:extra-deps {lambdaisland/kaocha {:mvn/version "1.87.1366"}}
:main-opts ["-m" "kaocha.runner"]
:exec-fn kaocha.runner/exec-fn
:exec-args {:randomize? false
:fail-fast? true}}
;; ------------
;; ------------
;; tools.build `build.clj` built script
:build/task
{:replace-paths ["."]
:replace-deps {io.github.clojure/tools.build
{:git/tag "v0.10.0" :git/sha "3a2c484"}}
:ns-default build}}}
;; ------------
;; ---------------------------------------------------------