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
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

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
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 '---'

View File

@ -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