-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
31 lines (26 loc) · 741 Bytes
/
Copy pathMakefile
File metadata and controls
31 lines (26 loc) · 741 Bytes
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
NI_ARGS = \
--initialize-at-build-time \
--report-unsupported-elements-at-runtime \
--no-fallback \
-jar target/default+uberjar/lufs-clj.jar \
-H:+PrintClassInitialization \
-H:ReflectionConfigurationFiles=reflection-config.json \
-H:+ReportExceptionStackTraces \
-H:Log=registerResource \
-H:Name=./builds/lufs-clj-
FIXTURE = test/media/test.wav
build-native-macos:
lein uberjar
sudo native-image ${NI_ARGS}macos
timing:
gtime java -jar target/default+uberjar/lufs-clj.jar ${FIXTURE}
test-timing:
lein uberjar
gtime java -jar target/default+uberjar/lufs-clj.jar ${FIXTURE}
test-timing-native:
gtime builds/lufs-clj-macos ${FIXTURE}
cp:
git add .
@read -p "Commit message: " m; \
git commit -m "$$m"
git push --all gh