fix deno, fix clojure version, lolcode dynamic version
This commit is contained in:
parent
66a602038b
commit
6ff766d90b
|
@ -22,6 +22,8 @@ const languages = require('../../config/languages.json');
|
||||||
versions[language] = /\d+/.exec(lines[1])?.[0];
|
versions[language] = /\d+/.exec(lines[1])?.[0];
|
||||||
} else if (language === 'emacs') {
|
} else if (language === 'emacs') {
|
||||||
versions[language] = /\d+\.\d+/.exec(lines[1])?.[0];
|
versions[language] = /\d+\.\d+/.exec(lines[1])?.[0];
|
||||||
|
} else if (language === 'clojure') {
|
||||||
|
versions[language] = /\d+\.\d+\.\d+\.\d+/.exec(lines[1])?.[0];
|
||||||
} else {
|
} else {
|
||||||
versions[language] = /\d+\.\d+\.\d+/.exec(section)?.[0];
|
versions[language] = /\d+\.\d+\.\d+/.exec(section)?.[0];
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
cd /tmp/$1
|
cd /tmp/$1
|
||||||
timeout -s KILL 3 xargs -a args.args -d '\n' NO_COLOR=true deno run code.code < stdin.stdin
|
export NO_COLOR=true
|
||||||
|
timeout -s KILL 3 xargs -a args.args -d '\n' deno run code.code < stdin.stdin
|
||||||
|
|
|
@ -82,7 +82,7 @@ lxc-attach --clear-env -n piston -- /bin/bash -l -c "sbcl --version"
|
||||||
echo '---'
|
echo '---'
|
||||||
|
|
||||||
echo 'lolcode'
|
echo 'lolcode'
|
||||||
echo '1.0.0'
|
lxc-attach --clear-env -n piston -- /bin/bash -l -c "lci --version"
|
||||||
echo '---'
|
echo '---'
|
||||||
|
|
||||||
echo 'lua'
|
echo 'lua'
|
||||||
|
|
Loading…
Reference in New Issue