-
Notifications
You must be signed in to change notification settings - Fork 1
/
project.clj
47 lines (43 loc) · 2.66 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
(defproject pasta "1.0"
:description "Agent-based simulation with competition between individual learners, assumers, and social learners."
:url "https://github.com/mars0i/pasta"
:license {:name "Gnu General Public License version 3.0"
:url "http://www.gnu.org/copyleft/gpl.html"}
:dependencies [[org.clojure/clojure "1.10.3"]
[org.clojure/math.numeric-tower "0.0.4"]
[org.clojure/tools.cli "0.4.1"]
[org.clojure/data.csv "0.1.3"]
[com.rpl/specter "1.0.0"]
[mars0i/masonclj "0.2.0"]
;[incanter "1.5.7"]
;[criterium "0.4.4"] ; to use, e.g.: (use '[criterium.core :as c])
[mason "19"] ; (slightly hacked version) can be installed in local maven repo: uncomment lein-localrepo below, run 'lein localrepo install lib/mason.19.noAddlApps.jar mason 19'
;; Libs that MASON wants and can be gotten from maven.org, so they don't need to be in my lib dir:
[javax.media/jmf "2.1.1e"]
[com.lowagie/itext "1.2.3"] ; version that comes with MASON. Not in maven.org: [com.lowagie/itext "1.2"]
[org.jfree/jcommon "1.0.21"]
[org.jfree/jfreechart "1.0.17"]
[org.beanshell/bsh "2.0b4"]]
;:plugins [[lein-localrepo "0.5.3"]
; [lein-expand-resource-paths "0.0.1"]] ; allows wildcards in resource-paths (https://github.com/dchelimsky/lein-expand-resource-paths)
;:global-vars {*warn-on-reflection* true}
:jvm-opts ["-Xms2g"]
;:resource-paths ["lib/*"]
:source-paths ["src/clj"]
;:main pasta.GUI
:aot [pasta.mush pasta.snipe pasta.popenv pasta.Sim pasta.GUI pasta.core]
;:aot [pasta.Sim pasta.GUI]
:profiles {:nogui {:main pasta.Sim} ; execute this with 'lein with-profile nogui run'
:gui {:main pasta.GUI} ; execute this with 'lein with-profile gui run'
:core {:main pasta.core}
:uberjar {;:aot :all ; wrong order of compilation
:prep-tasks [["compile" "pasta.GUI"]
["compile" "utils.random" "utils.random-utils" "pasta.mush" "pasta.snipe"
"pasta.popenv" "pasta.perception" "pasta.stats" "pasta.Sim"
"pasta.core"]]
;:aot [utils.random utils.random-utils ; spell out by hand so core isn't compiled too early
; pasta.mush pasta.snipe pasta.popenv pasta.perception ; doesn't work
; pasta.stats pasta.Sim pasta.GUI pasta.core]
:main pasta.core}}
:target-path "target/%s"
)