This repository has been archived by the owner on Oct 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject.clj
103 lines (86 loc) · 3.05 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
(defproject cyberdungeonquest "-SNAPSHOT"
:repositories [["jitpack" "https://jitpack.io"]]
:dependencies [[org.clojure/clojure "1.11.1"]
[com.github.damn/grid2d "1.0"]
[com.github.damn/gdl "e2e5487"]
[reduce-fsm "0.1.4"]
[metosin/malli "0.13.0"]
[lein-hiera "2.0.0"]
]
:plugins [[jonase/eastwood "1.2.2"]
[lein-ancient "1.0.0-RC3"]
[lein-codox "0.10.8"]
[lein-hiera "2.0.0"]]
:target-path "target/%s/" ; https://stackoverflow.com/questions/44246924/clojure-tools-namespace-refresh-fails-with-no-namespace-foo
:uberjar-name "cdq_3.jar"
:omit-source true
:jvm-opts ["-Xms256m"
"-Xmx256m"
"-Dvisualvm.display.name=CDQ"
"-XX:-OmitStackTraceInFastThrow" ; disappeared stacktraces
; for visualvm profiling
"-Dcom.sun.management.jmxremote=true"
"-Dcom.sun.management.jmxremote.port=20000"
"-Dcom.sun.management.jmxremote.ssl=false"
"-Dcom.sun.management.jmxremote.authenticate=false"
]
; this from engine, what purpose?
;:javac-options ["-target" "1.7" "-source" "1.7" "-Xlint:-options"]
:global-vars {*warn-on-reflection* false
*print-level* 3
;*assert* false
;*unchecked-math* :warn-on-boxed
}
:aliases {"dev" ["run" "-m" "gdl.libgdx.dev" "app" "-main"]})
; * Notes
; * openjdk@8 stops working with long error
; * fireplace 'cp' evaluation does not work with openJDK17
; * using openjdk@11 right now and it works.
; -> report to vim fireplace?
; :FireplaceConnect 7888
(comment
; https://github.com/greglook/clj-hiera/blob/main/src/hiera/main.clj
; 1. activate dependency first: [lein-hiera "2.0.0"]
; 2. export JVM_OPTS=
; 3. lein repl
; 4. eval this:
(do
(require '[hiera.main :as hiera])
(hiera/graph
{:sources #{"src"}
:output "target/hiera"
:layout :horizontal
;:cluster-depth 3
:external false
:ignore #{"app"
"cdq.context.screens"
"cdq.screens.map-editor"
"cdq.screens.property-editor"
"cdq.context.properties"
"cdq.properties"
"cdq.screens.main-menu"
"cdq.screens.options-menu"
"cdq.tx.all"
"cdq.entity.all"
"cdq.screens.game"
"cdq.context.world"
"cdq.context.ui.actors"
"cdq.state.player"
"cdq.state.npc"
"cdq.tx.spawn"
"cdq.entity.movement"
"cdq.context.inventory-window"
"mapgen.module-gen"
"cdq.state.player-item-on-cursor"
}}))
; cdq.context.game => screens.main-menu
; cdq.screens.options-menu => debug-menu extra ....
;;
; cdq.tx => cdq.effect
; cdq.tx.spawn -> cdq.state.npc
; wasd-movement
; TODO fix cdq.entity namespace required manually (movement, body, inventory)
; => namespace package flow only down ... ?!
; inventory
; body
)