mirror of
https://github.com/engineer-man/piston.git
synced 2025-05-06 03:46:27 +02:00
merge
This commit is contained in:
commit
5c1d85fe11
4 changed files with 10 additions and 1 deletions
|
@ -71,7 +71,7 @@ func Execute(res http.ResponseWriter, req *http.Request) {
|
|||
"cpp", "c++",
|
||||
"csharp", "cs", "c#",
|
||||
"elixir", "exs",
|
||||
"emacs",
|
||||
"elisp", "el",
|
||||
"go",
|
||||
"java",
|
||||
"julia", "jl",
|
||||
|
|
|
@ -99,6 +99,12 @@ case "$lang" in
|
|||
"swift")
|
||||
bin=swift
|
||||
;;
|
||||
"elisp" | "el")
|
||||
bin=emacs
|
||||
;;
|
||||
"bash")
|
||||
bin=bash
|
||||
;;
|
||||
"typescript" | "ts")
|
||||
bin=typescript
|
||||
;;
|
||||
|
|
2
lxc/executors/emacs
Executable file
2
lxc/executors/emacs
Executable file
|
@ -0,0 +1,2 @@
|
|||
cd /tmp/$2
|
||||
runuser -l runner$1 -c "cd /tmp/$2 ; cat args.args | xargs -d '\n' timeout -s KILL 3 emacs -Q --script code.code"
|
1
tests/test.el
Normal file
1
tests/test.el
Normal file
|
@ -0,0 +1 @@
|
|||
(message "good")
|
Loading…
Add table
Add a link
Reference in a new issue