-
Notifications
You must be signed in to change notification settings - Fork 0
/
Justfile
29 lines (19 loc) · 954 Bytes
/
Justfile
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
run-test-instance:
sbt --client "run --basedir target/testbase --static ../target/resources/static"
make-graal-config:
#!/usr/bin/fish
rm -r jvm/src/main/resources/META-INF/native-image/generated/
sbt --client "reload; stageJars; vbundle"
$JAVA_HOME/bin/java -agentlib:native-image-agent=config-output-dir=jvm/src/main/resources/META-INF/native-image/generated --class-path "jvm/target/jars/*" viscel.Viscel --static target/resources/static/ --basedir target/base
make-native-image:
#!/usr/bin/fish
set -l jarpath (sbt -error 'print viscelJVM/packageJars')
native-image --enable-preview -march=x86-64-v2 --class-path "$jarpath/*" viscel.Viscel
prepare-build:
#!/usr/bin/fish
mkdir -p target
cd target
git clone --filter=blob:none https://github.com/rescala-lang/REScala.git bismuth
cd bismuth
git co v0.36.0
sbt "channelsJVM / publishLocal; channelsJS / publishLocal; replicationJVM / publishLocal; replicationJS / publishLocal"