diff --git a/tasks/hello-octave.task b/tasks/hello-octave.task new file mode 100644 index 0000000..800efa0 --- /dev/null +++ b/tasks/hello-octave.task @@ -0,0 +1,10 @@ +{ + "environment": "octave", + "taskfs": "hello-octave.sfs", + "limits": { + "time": 60, + "memory": 128, + "disk": 50, + "output": 4096 + } +} \ No newline at end of file diff --git a/tasks/hello-octave/control b/tasks/hello-octave/control new file mode 100755 index 0000000..07f0ef7 --- /dev/null +++ b/tasks/hello-octave/control @@ -0,0 +1 @@ +./task/hello-octave.sh diff --git a/tasks/hello-octave/hello-octave.oct b/tasks/hello-octave/hello-octave.oct new file mode 100644 index 0000000..1587579 --- /dev/null +++ b/tasks/hello-octave/hello-octave.oct @@ -0,0 +1 @@ +printf ("Hello, world!\n"); \ No newline at end of file diff --git a/tasks/hello-octave/hello-octave.sh b/tasks/hello-octave/hello-octave.sh new file mode 100755 index 0000000..2db4e5a --- /dev/null +++ b/tasks/hello-octave/hello-octave.sh @@ -0,0 +1,2 @@ +#!/bin/sh +octave-cli -qf /task/hello-octave.oct