-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathde.rmgk.Scitzen.json
39 lines (39 loc) · 1.08 KB
/
de.rmgk.Scitzen.json
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
{
"app-id": "de.rmgk.Scitzen",
"runtime": "org.freedesktop.Platform",
"runtime-version": "24.08",
"sdk": "org.freedesktop.Sdk",
"command": "scitzen",
"modules": [
{
"name": "scitzen",
"buildsystem": "simple",
"build-options": {
"build-args": [
"--share=network"
],
"no-debuginfo": true
},
"build-commands": [
"curl -fL \"https://github.com/coursier/launchers/raw/master/cs-x86_64-pc-linux.gz\" | gzip -d > cs",
"chmod +x cs",
"curl https://download.oracle.com/graalvm/23/latest/graalvm-jdk-23_linux-x64_bin.tar.gz > graalvm.tar.gz",
"mkdir graalvm",
"tar -xzf graalvm.tar.gz -C graalvm",
"JAVA_HOME=graalvm/graalvm-jdk-23.0.1+11.1 ./cs launch sbt --jvm=system -- packageJars",
"graalvm/graalvm-jdk-23.0.1+11.1/bin/native-image --class-path \"target/scala-3.5.2/jars/*\" scitzen.cli.ScitzenCommandline -o scitzen",
"install -D scitzen /app/bin/scitzen"
],
"sources": [
{
"type": "git",
"url": "https://github.com/rmgk/scitzen.git"
}
]
}
],
"finish-args": [
"--share=network",
"--filesystem=home:ro"
]
}