mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-20 20:16:26 +02:00
language support
This commit is contained in:
parent
3103f6c17f
commit
3ffeaf139c
5 changed files with 15 additions and 2 deletions
|
@ -29,10 +29,10 @@ case "$lang" in
|
|||
bin=executor_python3
|
||||
;;
|
||||
"ruby")
|
||||
bin=ruby
|
||||
bin=executor_ruby
|
||||
;;
|
||||
"javascript" | "js" | "node")
|
||||
bin=nodejs
|
||||
bin=executor_node
|
||||
;;
|
||||
"c")
|
||||
bin=executor_c
|
||||
|
@ -40,6 +40,9 @@ case "$lang" in
|
|||
"cpp" | "c++")
|
||||
bin=executor_cpp
|
||||
;;
|
||||
"go")
|
||||
bin=executor_go
|
||||
;;
|
||||
*)
|
||||
echo "invalid language"
|
||||
exit
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue