Compare commits

...

4 Commits

Author SHA1 Message Date
Brian Seymour f12cee3a96
Merge pull request #126 from Sirius902/master
Fix scala version
2021-02-26 01:48:07 -06:00
Sirius902 2444092236 Update install comment in install_script 2021-02-25 18:43:34 -08:00
Sirius902 84fb5e0b9c Fix scala version 2021-02-25 18:32:13 -08:00
Brian Seymour 0d3517fe56 link math 2021-02-25 18:28:35 -06:00
3 changed files with 3 additions and 3 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

@ -1,5 +1,5 @@
#!/usr/bin/bash #!/usr/bin/bash
cd /tmp/$1 cd /tmp/$1
timeout -s KILL 10 gcc -std=c11 -o binary -x c code.code timeout -s KILL 10 gcc -std=c11 -o binary -x c code.code -lm
timeout -s KILL 3 xargs -a args.args -d '\n' ./binary < stdin.stdin timeout -s KILL 3 xargs -a args.args -d '\n' ./binary < stdin.stdin

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'