mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-20 20:16:26 +02:00
commit
d19d3faeba
7 changed files with 32 additions and 0 deletions
4
lxc/executors/scala
Executable file
4
lxc/executors/scala
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/bash
|
||||
|
||||
cp code.code interim.scala
|
||||
timeout -s KILL 10 xargs -a args.args -d '\n' scala interim.scala < stdin.stdin
|
|
@ -60,6 +60,8 @@ echo -n 'testing ruby = '
|
|||
../../cli/execute ruby ruby.rb
|
||||
echo -n 'testing rust = '
|
||||
../../cli/execute rust rust.rs
|
||||
echo -n 'testing scala = '
|
||||
../../cli/execute scala scala.scala
|
||||
echo -n 'testing swift = '
|
||||
../../cli/execute swift swift.swift
|
||||
echo -n 'testing typescript = '
|
||||
|
|
3
lxc/tests/scala.scala
Normal file
3
lxc/tests/scala.scala
Normal file
|
@ -0,0 +1,3 @@
|
|||
@main def run(): Unit = {
|
||||
println("good")
|
||||
}
|
|
@ -125,6 +125,10 @@ echo 'rust'
|
|||
lxc-attach --clear-env -n piston -- /bin/bash -l -c "rustc --version"
|
||||
echo '---'
|
||||
|
||||
echo 'scala'
|
||||
lxc-attach --clear-env -n piston -- /bin/bash -l -c "scala -version"
|
||||
echo '---'
|
||||
|
||||
echo 'swift'
|
||||
lxc-attach --clear-env -n piston -- /bin/bash -l -c "swift --version"
|
||||
echo '---'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue