-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathproject.clj
72 lines (72 loc) · 2.02 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
(defproject gov.nasa.earthdata/cmr-site-templates "0.1.0"
:description "Templates for CMR content"
:url "https://github.com/cmr-exchange/cmr-site-templates"
:license {
:name "Apache License, Version 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0"}
:dependencies [
[org.clojure/clojure "1.9.0"]]
:profiles {
:ubercompile {
:aot :all}
:security {
:plugins [
[lein-nvd "0.5.6"]]}
:lint {
:source-paths ^:replace ["src"]
:test-paths ^:replace []
:plugins [
[jonase/eastwood "0.3.3"]
[lein-ancient "0.6.15"]
[lein-bikeshed "0.5.1"]
[lein-kibit "0.1.6"]
[venantius/yagni "0.1.6"]]}
:test {
:plugins [
[lein-ltest "0.3.0"]]}}
:aliases {
;; Dev & Testing Aliases
"repl" ["do"
["clean"]
["repl"]]
"ubercompile" ["with-profile" "+ubercompile,+security" "compile"]
"check-vers" ["with-profile" "+lint" "ancient" "check" ":all"]
"check-jars" ["with-profile" "+lint" "do"
["deps" ":tree"]
["deps" ":plugin-tree"]]
"check-deps" ["do"
["check-jars"]
["check-vers"]]
"ltest" ["with-profile" "+test,+system,+security" "ltest"]
;; Linting
"kibit" ["with-profile" "+lint" "kibit"]
"eastwood" ["with-profile" "+lint" "eastwood" "{:namespaces [:source-paths]}"]
"lint" ["do"
["kibit"]
;["eastwood"]
]
;; Security
"check-sec" ["with-profile" "+security" "do"
["clean"]
["nvd" "check"]]
;; Build tasks
"build-jar" ["with-profile" "+security" "jar"]
"build-uberjar" ["with-profile" "+security" "uberjar"]
"build-lite" ["do"
["ltest" ":unit"]]
"build" ["do"
["clean"]
["check-vers"]
["check-sec"]
["ltest" ":unit"]
["ubercompile"]
["build-uberjar"]]
"build-full" ["do"
["ltest" ":unit"]
["ubercompile"]
["build-uberjar"]]
;; Publishing
"publish" ["with-profile" "+security" "do"
["clean"]
["build-jar"]
["deploy" "clojars"]]})