Merge pull request #126 from Sirius902/master

Fix scala version
This commit is contained in:
Brian Seymour 2021-02-26 01:48:07 -06:00 committed by GitHub
commit f12cee3a96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -101,7 +101,7 @@ cd rust-1.49.0-x86_64-unknown-linux-gnu
# install scala # install scala
# final binary: /opt/scala/scala3-3.0.0-M3/bin/scala # final binary: /opt/scala/scala3-3.0.0-M3/bin/scala
# get version: /opt/scala/scala3-3.0.0-M3/bin/scala -version # get version: /opt/scala/scala3-3.0.0-M3/bin/scalac -version
cd /opt && mkdir scala && cd scala cd /opt && mkdir scala && cd scala
wget https://github.com/lampepfl/dotty/releases/download/3.0.0-M3/scala3-3.0.0-M3.tar.gz wget https://github.com/lampepfl/dotty/releases/download/3.0.0-M3/scala3-3.0.0-M3.tar.gz
tar -xzf scala3-3.0.0-M3.tar.gz tar -xzf scala3-3.0.0-M3.tar.gz

View File

@ -130,7 +130,7 @@ lxc-attach --clear-env -n piston -- /bin/bash -l -c "rustc --version"
echo '---' echo '---'
echo 'scala' echo 'scala'
lxc-attach --clear-env -n piston -- /bin/bash -l -c "scala -version" lxc-attach --clear-env -n piston -- /bin/bash -l -c "scalac -version"
echo '---' echo '---'
echo 'swift' echo 'swift'