-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathproject.clj
105 lines (82 loc) · 5.95 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
;; Please don't bump the library version by hand - use ci.release-workflow instead.
(defproject com.nedap.staffing-solutions/speced.def "2.1.1"
;; Please keep the dependencies sorted a-z.
:dependencies [[com.nedap.staffing-solutions/utils.spec "1.3.1"]
[com.nedap.staffing-solutions/utils.test "1.8.0"]
[org.clojure/clojure "1.10.1"]]
:description "spec-backed forms of `defn`, `defprotocol`, `fn`, etc, using the same exact syntax than clojure.core's, aided by metadata."
:url "https://github.com/nedap/speced.def"
:min-lein-version "2.0.0"
:license {:name "EPL-2.0"
:url "https://www.eclipse.org/legal/epl-2.0/"}
:signing {:gpg-key "[email protected]"}
:repositories {"github" {:url "https://maven.pkg.github.com/nedap/*"
:username "github"
:password :env/github_token}}
:deploy-repositories {"clojars" {:url "https://clojars.org/repo"
:username :env/clojars_user
:password :env/clojars_pass}}
:target-path "target/%s"
:source-paths ["src"]
:test-paths ["test"]
:resource-paths ["resources"]
:monkeypatch-clojure-test false
:plugins [[lein-cljsbuild "1.1.7"]
[lein-pprint "1.1.2"]]
;; Please don't add `:hooks [leiningen.cljsbuild]`. It can silently skip running the JS suite on `lein test`.
;; It also interferes with Cloverage.
:cljsbuild {:builds {"test" {:source-paths ["src" "test"]
:compiler {:main nedap.speced.def.test-runner
:output-to "target/out/tests.js"
:output-dir "target/out"
:target :nodejs
:optimizations :none}}}}
;; A variety of common dependencies are bundled with `nedap/lein-template`.
;; They are divided into two categories:
;; * Dependencies that are possible or likely to be needed in all kind of production projects
;; * The point is that when you realise you needed them, they are already in your classpath, avoiding interrupting your flow
;; * After realising this, please move the dependency up to the top level.
;; * Genuinely dev-only dependencies allowing 'basic science'
;; * e.g. criterium, deep-diff, clj-java-decompiler
;; NOTE: deps marked with #_"transitive" are there to satisfy the `:pedantic?` option.
:profiles {:dev {:dependencies [[cider/cider-nrepl "0.16.0" #_"formatting-stack needs it"]
[com.clojure-goes-fast/clj-java-decompiler "0.2.1"]
[com.stuartsierra/component "0.4.0"]
[com.taoensso/timbre "4.10.0"]
[criterium "0.4.5"]
[formatting-stack "1.0.1"]
[lambdaisland/deep-diff "0.0-29"]
[medley "1.2.0"]
[org.clojure/core.async "0.5.527"]
[org.clojure/math.combinatorics "0.1.1"]
[org.clojure/test.check "0.10.0-alpha3"]
[org.clojure/tools.namespace "0.3.1"]]
:plugins [[lein-cloverage "1.1.1"]]
:source-paths ["dev"]
:repl-options {:init-ns dev}}
:provided {:dependencies [[org.clojure/clojurescript "1.10.597"
:exclusions [com.cognitect/transit-clj
com.google.code.findbugs/jsr305
com.google.errorprone/error_prone_annotations]]
[com.google.guava/guava "25.1-jre" #_"transitive"]
[com.google.protobuf/protobuf-java "3.4.0" #_"transitive"]
[com.cognitect/transit-clj "0.8.313" #_"transitive"]
[com.google.errorprone/error_prone_annotations "2.1.3" #_"transitive"]
[com.google.code.findbugs/jsr305 "3.0.2" #_"transitive"]]}
:check {:global-vars {*unchecked-math* :warn-on-boxed
;; avoid warnings that cannot affect production:
*assert* false}}
:test {:dependencies [[com.nedap.staffing-solutions/utils.test "1.6.1"]]
:jvm-opts ["-Dclojure.core.async.go-checking=true"
"-Duser.language=en-US"]}
:utils.spec-1.1.0 {:dependencies [[com.nedap.staffing-solutions/utils.spec "1.1.0"]]
:jvm-opts ["-Dnedap.speced.def.testing.utils-spec-dep=1.1.0"]}
:warn-on-reflection {:global-vars {*warn-on-reflection* true}}
:ncrw {:global-vars {*assert* true} ;; `ci.release-workflow` relies on runtime assertions
:source-paths ^:replace []
:test-paths ^:replace []
:resource-paths ^:replace []
:plugins ^:replace []
:dependencies ^:replace [[com.nedap.staffing-solutions/ci.release-workflow "1.14.1"]]}
:ci {:pedantic? :abort
:jvm-opts ["-Dclojure.main.report=stderr"]}})