mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-21 12:36:28 +02:00
ts support
This commit is contained in:
parent
460e393772
commit
8833d4f488
6 changed files with 16 additions and 2 deletions
6
lxc/executors/typescript
Executable file
6
lxc/executors/typescript
Executable file
|
@ -0,0 +1,6 @@
|
|||
cd /tmp/$2
|
||||
mv code.code interim.ts
|
||||
timeout -s KILL 10 tsc interim.ts
|
||||
rm interim.ts
|
||||
mv interim.js code.code
|
||||
runuser -l runner$1 -c "cd /tmp/$2 ; cat args.args | xargs -d '\n' timeout -s KILL 3 nodejs code.code"
|
Loading…
Add table
Add a link
Reference in a new issue