Skip to content

Commit 354784c

Browse files
committed
Adding compile/run example steps
1 parent e6ec1ac commit 354784c

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

Diff for: codegen-test/scripts/compile

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/bash
2+
3+
4+
5+
clj -e "(require '[code.codegen :as cg])(cg/codegen)(println \"compilation successful\")\
6+
(shutdown-agents)"

Diff for: codegen-test/scripts/run

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/bash
2+
3+
clj -e "(compile 'code.main)"
4+
java -cp "$(clj -Spath):classes" code.main

0 commit comments

Comments
 (0)