formatting, add missing language

This commit is contained in:
Brian Seymour 2020-10-17 12:06:23 -05:00
parent 486c720868
commit 6d580981e4
5 changed files with 81 additions and 59 deletions

View File

@ -9,12 +9,16 @@ echo 'testing cpp'
../execute cpp test.cpp ../execute cpp test.cpp
echo 'testing cs' echo 'testing cs'
../execute cs test.cs ../execute cs test.cs
echo 'testing deno ts'
../execute deno testdeno.ts
echo 'testing elisp' echo 'testing elisp'
../execute elisp test.el ../execute elisp test.el
echo 'testing elixir' echo 'testing elixir'
../execute exs test.exs ../execute exs test.exs
echo 'testing go' echo 'testing go'
../execute go test.go ../execute go test.go
echo 'testing haskell'
../execute haskell test.hs
echo 'testing java' echo 'testing java'
../execute java test.java ../execute java test.java
echo 'testing jl' echo 'testing jl'
@ -45,9 +49,3 @@ echo 'testing python2'
../execute python2 test2.py ../execute python2 test2.py
echo 'testing python3' echo 'testing python3'
../execute python3 test3.py ../execute python3 test3.py
echo 'testing haskell'
../execute haskell test.hs
echo 'testing deno js'
../execute deno testdeno.js
echo 'testing deno ts'
../execute deno testdeno.ts

View File

@ -1 +1 @@
main = putStrLn "Hello, World" main = putStrLn "good"

View File

@ -1 +0,0 @@
console.log('good')

View File

@ -1,74 +1,98 @@
#!/usr/bin/env bash #!/usr/bin/env bash
echo '---' echo '---'
echo 'awk' echo 'awk'
lxc-attach --clear-env -n piston -- /bin/bash -l -c "awk -W version" lxc-attach --clear-env -n piston -- /bin/bash -l -c "awk -W version"
echo '---' echo '---'
echo 'bash' echo 'bash'
lxc-attach --clear-env -n piston -- /bin/bash -l -c "bash --version" lxc-attach --clear-env -n piston -- /bin/bash -l -c "bash --version"
echo '---' echo '---'
echo 'c' echo 'c'
lxc-attach --clear-env -n piston -- /bin/bash -l -c "gcc -v" lxc-attach --clear-env -n piston -- /bin/bash -l -c "gcc -v"
echo '---' echo '---'
echo 'cpp' echo 'cpp'
lxc-attach --clear-env -n piston -- /bin/bash -l -c "g++ -v" lxc-attach --clear-env -n piston -- /bin/bash -l -c "g++ -v"
echo '---' echo '---'
echo 'csharp' echo 'csharp'
lxc-attach --clear-env -n piston -- /bin/bash -l -c "mcs --version" lxc-attach --clear-env -n piston -- /bin/bash -l -c "mcs --version"
echo '---' echo '---'
echo "elixir" echo "elixir"
lxc-attach --clear-env -n piston -- /bin/bash -l -c "elixir --version" lxc-attach --clear-env -n piston -- /bin/bash -l -c "elixir --version"
echo '---' echo '---'
echo "emacs"
lxc-attach --clear-env -n piston -- /bin/bash -l -c "emacs --version"
echo '---'
echo 'go'
lxc-attach --clear-env -n piston -- /bin/bash -l -c "go version"
echo '---'
echo 'java'
lxc-attach --clear-env -n piston -- /bin/bash -l -c "java -version"
echo '---'
echo 'julia'
lxc-attach --clear-env -n piston -- /bin/bash -l -c "julia --version"
echo '---'
echo 'kotlin'
lxc-attach --clear-env -n piston -- /bin/bash -l -c "kotlinc -version 2>&1 | grep kotlin"
echo "---"
echo 'lua'
lxc-attach --clear-env -n piston -- /bin/bash -l -c "lua -v"
echo "---"
echo 'nasm'
lxc-attach --clear-env -n piston -- /bin/bash -l -c "nasm -version"
echo '---'
echo 'node'
lxc-attach --clear-env -n piston -- /bin/bash -l -c "node --version"
echo '---'
echo 'perl'
lxc-attach --clear-env -n piston -- /bin/bash -l -c "perl --version | grep x86"
echo '---'
echo 'php'
lxc-attach --clear-env -n piston -- /bin/bash -l -c "php -v"
echo '---'
echo 'python2'
lxc-attach --clear-env -n piston -- /bin/bash -l -c "python -V"
echo '---'
echo 'python3'
lxc-attach --clear-env -n piston -- /bin/bash -l -c "python3 -V"
echo '---'
echo 'ruby'
lxc-attach --clear-env -n piston -- /bin/bash -l -c "ruby --version"
echo '---'
echo 'rust'
lxc-attach --clear-env -n piston -- /bin/bash -l -c "rustc --version"
echo '---'
echo 'swift'
lxc-attach --clear-env -n piston -- /bin/bash -l -c "swift --version"
echo '---'
echo 'typescript'
lxc-attach --clear-env -n piston -- /bin/bash -l -c "tsc --version"
echo '---'
echo 'haskell'
lxc-attach --clear-env -n piston -- /bin/bash -l -c "ghc --version"
echo '---'
echo 'deno' echo 'deno'
lxc-attach --clear-env -n piston -- /bin/bash -l -c "deno --version" lxc-attach --clear-env -n piston -- /bin/bash -l -c "deno --version"
echo '---' echo '---'
echo "emacs"
lxc-attach --clear-env -n piston -- /bin/bash -l -c "emacs --version"
echo '---'
echo 'go'
lxc-attach --clear-env -n piston -- /bin/bash -l -c "go version"
echo '---'
echo 'haskell'
lxc-attach --clear-env -n piston -- /bin/bash -l -c "ghc --version"
echo '---'
echo 'java'
lxc-attach --clear-env -n piston -- /bin/bash -l -c "java -version"
echo '---'
echo 'julia'
lxc-attach --clear-env -n piston -- /bin/bash -l -c "julia --version"
echo '---'
echo 'kotlin'
lxc-attach --clear-env -n piston -- /bin/bash -l -c "kotlinc -version 2>&1 | grep kotlin"
echo '---'
echo 'lua'
lxc-attach --clear-env -n piston -- /bin/bash -l -c "lua -v"
echo '---'
echo 'nasm'
lxc-attach --clear-env -n piston -- /bin/bash -l -c "nasm -version"
echo '---'
echo 'node'
lxc-attach --clear-env -n piston -- /bin/bash -l -c "node --version"
echo '---'
echo 'perl'
lxc-attach --clear-env -n piston -- /bin/bash -l -c "perl --version | grep x86"
echo '---'
echo 'php'
lxc-attach --clear-env -n piston -- /bin/bash -l -c "php -v"
echo '---'
echo 'python2'
lxc-attach --clear-env -n piston -- /bin/bash -l -c "python -V"
echo '---'
echo 'python3'
lxc-attach --clear-env -n piston -- /bin/bash -l -c "python3 -V"
echo '---'
echo 'ruby'
lxc-attach --clear-env -n piston -- /bin/bash -l -c "ruby --version"
echo '---'
echo 'rust'
lxc-attach --clear-env -n piston -- /bin/bash -l -c "rustc --version"
echo '---'
echo 'swift'
lxc-attach --clear-env -n piston -- /bin/bash -l -c "swift --version"
echo '---'
echo 'typescript'
lxc-attach --clear-env -n piston -- /bin/bash -l -c "tsc --version"
echo '---'

View File

@ -333,6 +333,7 @@ If an invalid language is supplied, a typical response will look like the follow
- c - c
- cpp - cpp
- csharp - csharp
- deno
- elixir - elixir
- emacs - emacs
- go - go