-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.clj
125 lines (123 loc) · 3.83 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
(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;
;; this function is really only meant to be used by Dragon itself.
(catch Exception _ "")))
(defn get-prompt
[ns]
(str "\u001B[35m[\u001B[34m"
ns
"\u001B[35m]\u001B[33m λ\u001B[m=> "))
(defproject hexagram30/map "0.2.0-SNAPSHOT"
:description "A map-making library for worlds, cities, dungeons, and buildings in hexagram30 projects"
:url "https://github.com/hexagram30/map"
:license {
:name "Apache License, Version 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0"}
:exclusions [
;; JDK version issues overrides
[org.clojure/clojure]
[org.clojure/clojurescript]
[org.clojure/core.incubator]
[org.clojure/core.rrb-vector]
[org.clojure/tools.reader]]
:dependencies [
;; JDK version issues overrides
[org.clojure/core.incubator "0.1.4"]
[org.clojure/core.rrb-vector "0.1.1"]
[org.clojure/tools.reader "1.3.2"]
;; Regular dependencies
[clojusc/system-manager "0.3.0" :exclusions [
org.clojure/clojure org.clojure/core.incubator]]
[clojusc/twig "0.4.1" :exclusions [
org.clojure/clojure org.clojure/core.rrb-vector]]
[com.evocomputing/colors "1.0.6" :exclusions [
org.clojure/clojure org.clojure/core.incubator]]
[hexagram30/common "0.2.1"]
[org.apache.commons/commons-math3 "3.6.1"]
[org.clojure/clojure "1.10.1"]
[org.clojure/data.avl "0.1.0"]
[org.flatland/ordered "1.5.7"]
[trystan/delaunay-triangulation "1.0.1"]
[trystan/voronoi-diagram "1.0.0"]]
:java-source-paths ["src"]
:profiles {
:ubercompile {
:aot :all}
:dev {
:dependencies [
[clojusc/trifl "0.4.2"]
[com.github.davidmoten/hilbert-curve "0.2.1"]
[org.clojure/tools.namespace "0.3.1"]]
:middleware [ultra.plugin/middleware]
:plugins [
[lein-shell "0.5.0"]
[org.clojure/core.rrb-vector "0.1.1" :exclusions [
org.clojure/clojure]]
[venantius/ultra "0.6.0" :exclusions [
org.clojure/clojure org.clojure/core.rrb-vector]]]
:source-paths ["dev-resources/src"]
:resource-paths ["assets/images"]
:repl-options {
:init-ns hxgm30.map.repl
:prompt ~get-prompt
:init ~(println (get-banner))}}
:biome {
:main hxgm30.map.biome.core}
:scales {
:main hxgm30.map.scales.core}
:lint {
:source-paths ^:replace ["src"]
:test-paths ^:replace []
:plugins [
[jonase/eastwood "0.3.7"]
[lein-ancient "0.6.15"]
[lein-kibit "0.1.8"]
[lein-nvd "1.3.1"]]}
:test {
:plugins [
[lein-ltest "0.4.0"]]
:test-selectors {
:unit #(not (or (:integration %) (:system %)))
:integration :integration
:system :system
:default (complement :system)}}}
: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"]
]
"biome" ["with-profile" "+dev,+biome" "run"]
"scale" ["with-profile" "+dev,+scales" "run"]
"ltest" ["with-profile" "+test" "ltest"]
"ltest-clean" ["do"
["clean"]
["ltest"]]
"build" ["do"
["clean"]
["check-vers"]
["lint"]
["ltest" ":all"]
["ubercompile"]
["jar"]]})