We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9bfb4fd commit c56fa9bCopy full SHA for c56fa9b
1 file changed
languages/racket.toml
@@ -0,0 +1,36 @@
1
+name = "racket"
2
+entrypoint = "main.rkt"
3
+extensions = [
4
+ "rkt"
5
+]
6
+
7
+packages = [
8
9
10
+setup = [
11
+ "pushd /tmp",
12
+ "wget -O racket-7.8-x86_64-linux.sh https://mirror.racket-lang.org/installers/7.8/racket-7.8-x86_64-linux.sh",
13
+ "sh racket-7.8-x86_64-linux.sh --unix-style --create-dir --dest /usr",
14
+ "rm -rf /tmp/racket-7.8-x86_64-linux.sh",
15
+ "popd"
16
17
18
+versionCommand = [
19
+ "racket",
20
+ "--version"
21
22
23
+[run]
24
+command = [
25
26
+ "main.rkt"
27
28
29
+[tests]
30
+ [tests.eight]
31
+ code = "#lang racket\n(+ 3 5)"
32
+ output = "8\n"
33
34
+ [tests.hello]
35
+ code = "#lang racket\n(print \"hello\")"
36
+ output = "\"hello\""
0 commit comments