-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.clj
100 lines (97 loc) · 2.73 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
(defn get-banner
[]
(try
(str
(slurp "resources/text/banner.txt")
;(slurp "resources/text/loading.txt")
)
;; If another project can't find the banner, just skip it.
(catch Exception _ "")))
(defn get-prompt
[ns]
(str "\u001B[35m[\u001B[34m"
ns
"\u001B[35m]\u001B[33m λ\u001B[m=> "))
(defproject clojang/component "0.2.0"
:description "A Clojang life-cycle implementation of the Component library for use in large/complex applications"
:url "https://github.com/clojang/component"
:scm {
:name "git"
:url "https://github.com/clojang/component"}
:license {
:name "Apache License, Version 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0"}
:dependencies [
[clojang "0.7.0-SNAPSHOT"]
[clojang/agent "0.7.0-SNAPSHOT"]
[clojusc/system-manager "0.3.0-SNAPSHOT"]
[clojusc/twig "0.3.3"]
[com.stuartsierra/component "0.3.2"]
[org.clojure/clojure "1.9.0"]]
:main clojang.component.core
:aot [clojang.component.core]
:profiles {
:ubercompile {
:aot :all}
:lint {
:source-paths ^:replace ["src"]
:test-paths ^:replace []
:plugins [
[jonase/eastwood "0.2.9"]
[lein-ancient "0.6.15"]
[lein-bikeshed "0.5.1"]
[lein-kibit "0.1.6"]
[venantius/yagni "0.1.4"]]}
:test {
:aot :all
:plugins [
[lein-ltest "0.3.0"]]
:source-paths ["test"]
:test-selectors {
:default :unit
:unit :unit
:system :system
:integration :integration}}
:dev {
:dependencies [
[clojusc/trifl "0.3.0"]
[org.clojure/tools.namespace "0.2.11"]]
:plugins [
[venantius/ultra "0.5.2"]]
:source-paths ["dev-resources/src"]
:jvm-opts [
;"-verbose:class"
;"-Dheadless"
"-splash:resources/images/logo-5-250x.png"
"-Dnode.sname=clojang"]
:repl-options {
:init-ns clojang.component.repl
:prompt ~get-prompt
:init ~(println (get-banner))}}}
:aliases {
;; Dev Aliases
"repl" ["do"
["clean"]
["repl"]]
"ubercompile" ["do"
["clean"]
["with-profile" "+ubercompile" "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"]]
"kibit" ["with-profile" "+lint" "kibit"]
"eastwood" ["with-profile" "+lint" "eastwood" "{:namespaces [:source-paths]}"]
"lint" ["do"
["kibit"]
["eastwood"]]
"ltest" ["with-profile" "+test" "ltest"]
"build" ["do"
["clean"]
["check-vers"]
["lint"]
["ltest" ":all"]
["uberjar"]]})