-
Notifications
You must be signed in to change notification settings - Fork 2
/
make-reflection
executable file
·35 lines (27 loc) · 1.02 KB
/
make-reflection
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
#!/usr/bin/sh
lein uberjar
root_path=${PWD}
test_home=test/resources/data/apt
name=$(lein print :name | sed 's|"||g')
version=$(lein print :version | sed 's|"||g')
rm -rf ${root_path}/META-INF
mkdir -p ${root_path}/META-INF/native-image
# -agentlib:native-image-agent=config-merge-output-dir=META-INF/native-image \
java \
-Xss16m \
-agentlib:native-image-agent=config-output-dir=META-INF/native-image \
-jar target/uberjar/${name}-${version}-standalone.jar \
resolve-locations \
--resolve-strat "fast" \
--repository "binary-amd64 file://${PWD}/${test_home}/avail /" \
--package-system apt \
--requirement "libc6"
java \
-Xss16m \
-agentlib:native-image-agent=config-merge-dir=META-INF/native-image \
-jar target/uberjar/${name}-${version}-standalone.jar \
resolve-locations \
--resolve-strat "fast" \
--repository "binary-amd64 https://github.com/djhaskin987/degasolv/raw/develop/test/resources/data/apt/avail /" \
--package-system apt \
--requirement "libc6"