piston/packages/scala/3.0.0/build.sh

12 lines
451 B
Bash
Raw Normal View History

2021-03-18 19:34:03 +01:00
#!/usr/bin/env bash
2021-05-15 06:24:37 +02:00
# Download and extract JDK8
curl -L "https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u292-b10/OpenJDK8U-jdk_x64_linux_hotspot_8u292b10.tar.gz" -o jdk.tar.gz
tar xzf jdk.tar.gz --strip-components=1
rm jdk.tar.gz
2021-03-18 19:34:03 +01:00
2021-05-15 06:24:37 +02:00
# Download and extract Scala 3
curl -L "https://github.com/lampepfl/dotty/releases/download/3.0.0/scala3-3.0.0.tar.gz" -o scala.tar.gz
2021-03-18 19:34:03 +01:00
tar -xzf scala.tar.gz --strip-components=1
rm scala.tar.gz