Debian Codegraph @

test/jank/entry.sh

raw
1 #!/bin/sh
2
3 echo "------------------------------------ BUILDING ------------------------------------"
4
5 cd jank/compiler+runtime
6
7 CC=clang CXX=clang++ ./bin/configure -GNinja -DCMAKE_BUILD_TYPE=Debug && ./bin/compile
8
9 cat > test.jank << EOF
10 (ns test)
11
12 (defn foo []
13 (throw "meow"))
14
15 (defn -main [& args]
16 (foo))
17 (-main)
18 EOF
19
20 ./build/jank run test.jank
21 # gdb --args ./build/jank run test.jank
22
23 exec /bin/bash