Skip to content

Commit

Permalink
Merge branch 'main' into prefork
Browse files Browse the repository at this point in the history
  • Loading branch information
ajami1331 authored May 9, 2024
2 parents c30c52c + 2a862c9 commit 8f16e45
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions scripts/restore.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/bin/sh
#!/bin/bash

set -e

apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
Expand All @@ -14,6 +16,9 @@ apt-get update && \
ruby \
golang \
openjdk-8-jdk-headless \
curl \
unzip \
zip

BFLAT_VERSION=7.0.2

Expand All @@ -29,7 +34,7 @@ rm -rf bflat-${BFLAT_VERSION}-linux-glibc-x64.tar.gz

curl -s "https://get.sdkman.io" | bash

source ~/.sdkman/bin/sdkman-init.sh
source "/root/.sdkman/bin/sdkman-init.sh"

sdk install kotlin

Expand Down
2 changes: 1 addition & 1 deletion sojj/languages.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
},
"kt": {
"type": "compiler",
"compile": ["kotlinc", "foo.kt", "-include-runtime", "-d", "foo.jar"],
"compile": ["/root/.sdkman/candidates/kotlin/current/bin/kotlinc", "foo.kt", "-include-runtime", "-d", "foo.jar"],
"codeFile": "foo.kt",
"outputFile": "foo.jar",
"execute": ["java", "-jar", "foo.jar"]
Expand Down

0 comments on commit 8f16e45

Please sign in to comment.