-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.clj
124 lines (120 loc) · 3.78 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
(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/agent "0.6.1-SNAPSHOT"
:description "Software agent emotional modeling, behavioural simulation, and AI for hexagramMUSH sentients (players, NPCs, animals, monsters, etc.)"
:url "https://github.com/hexagram/agent"
:license {
:name "Apache License, Version 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0"}
:exclusions [
;; JDK version issues overrides
fipp]
:dependencies [
;; JDK version issues overrides
[fipp "0.6.18"]
;; Regular dependencies
[net.mikera/core.matrix "0.62.0"]
[org.clojure/clojure "1.10.1"]
[org.clojure/math.numeric-tower "0.0.4"]]
:profiles {
:ubercompile {
:aot :all}
:dev {
:dependencies [
[clojusc/trifl "0.4.2"]
[org.clojure/tools.namespace "0.3.1"]]
:plugins [
[venantius/ultra "0.6.0"]]
:source-paths [
"dev-resources/src"]
:repl-options {
:init-ns hxgm30.agent.repl
:prompt ~get-prompt
:init ~(println (get-banner))}
:ultra {
:repl {
:width 180
:map-delimiter ""
:extend-notation true
:print-meta true}}}
:lint {
:source-paths ^:replace ["src"]
:test-paths ^:replace []
:plugins [
[jonase/eastwood "0.3.6"]
[lein-ancient "0.6.15"]
[lein-bikeshed "0.5.2"]
[lein-kibit "0.1.7"]
[venantius/yagni "0.1.7"]]}
:test {
:plugins [[lein-ltest "0.3.0"]]}
:script {
:dependencies [
[clj-http "3.10.0"]
[enlive "1.1.6"]
[org.clojure/data.csv "0.1.4"]
[org.clojure/data.json "0.2.6"]]
:source-paths [
"scripts/src"]
:test-paths [
"scripts/test"]}}
:aliases {
"repl" ["with-profile" "+script" "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,+script" "ltest"]
"ltest-clean" ["do"
["clean"]
["ltest"]]
"build" ["do"
["clean"]
["check-vers"]
["lint"]
["ltest" ":all"]
["uberjar"]]
;; Scripts
"big-five-short" ["with-profile" "+script"
"run" "-m" "hxgm30.agent.script.inventory" "bigfive" "short"]
"big-five-long" ["with-profile" "+script"
"run" "-m" "hxgm30.agent.script.inventory" "bigfive" "long"]
"ipip-short" ["with-profile" "+script"
"run" "-m" "hxgm30.agent.script.inventory" "ipip" "short"]
"ipip-long" ["with-profile" "+script"
"run" "-m" "hxgm30.agent.script.inventory" "ipip" "long"]
"ipip-full" ["with-profile" "+script"
"run" "-m" "hxgm30.agent.script.inventory" "ipip" "full"]
"download-ipip-items" ["with-profile" "+script"
"run" "-m" "hxgm30.agent.script.download.ipip-items"]
"download-ipip-neo" ["with-profile" "+script"
"run" "-m" "hxgm30.agent.script.download.ipip-neo-pi"]
"restructure-ipip-items" ["with-profile" "+script"
"run" "-m" "hxgm30.agent.script.items" "ipip" "restructure"]})