diff --git a/lxc/test_all_lxc b/lxc/test_all_lxc index 1641e41..f2068bd 100755 --- a/lxc/test_all_lxc +++ b/lxc/test_all_lxc @@ -9,12 +9,16 @@ echo 'testing cpp' ../execute cpp test.cpp echo 'testing cs' ../execute cs test.cs +echo 'testing deno ts' +../execute deno testdeno.ts echo 'testing elisp' ../execute elisp test.el echo 'testing elixir' ../execute exs test.exs echo 'testing go' ../execute go test.go +echo 'testing haskell' +../execute haskell test.hs echo 'testing java' ../execute java test.java echo 'testing jl' @@ -45,9 +49,3 @@ echo 'testing python2' ../execute python2 test2.py echo 'testing python3' ../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 diff --git a/lxc/tests/test.hs b/lxc/tests/test.hs index 2d96bbc..4c4a8c3 100644 --- a/lxc/tests/test.hs +++ b/lxc/tests/test.hs @@ -1 +1 @@ -main = putStrLn "Hello, World" +main = putStrLn "good" diff --git a/lxc/tests/testdeno.js b/lxc/tests/testdeno.js deleted file mode 100644 index 847245f..0000000 --- a/lxc/tests/testdeno.js +++ /dev/null @@ -1 +0,0 @@ -console.log('good') diff --git a/lxc/versions b/lxc/versions index d3c6318..efa3d68 100755 --- a/lxc/versions +++ b/lxc/versions @@ -1,74 +1,98 @@ #!/usr/bin/env bash echo '---' + echo 'awk' lxc-attach --clear-env -n piston -- /bin/bash -l -c "awk -W version" echo '---' + echo 'bash' lxc-attach --clear-env -n piston -- /bin/bash -l -c "bash --version" echo '---' + echo 'c' lxc-attach --clear-env -n piston -- /bin/bash -l -c "gcc -v" echo '---' + echo 'cpp' lxc-attach --clear-env -n piston -- /bin/bash -l -c "g++ -v" echo '---' + echo 'csharp' lxc-attach --clear-env -n piston -- /bin/bash -l -c "mcs --version" echo '---' + echo "elixir" lxc-attach --clear-env -n piston -- /bin/bash -l -c "elixir --version" 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' lxc-attach --clear-env -n piston -- /bin/bash -l -c "deno --version" 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 '---' diff --git a/readme.md b/readme.md index f8e9962..3e3edb6 100644 --- a/readme.md +++ b/readme.md @@ -333,6 +333,7 @@ If an invalid language is supplied, a typical response will look like the follow - c - cpp - csharp +- deno - elixir - emacs - go