summaryrefslogtreecommitdiff
path: root/bb.edn
diff options
context:
space:
mode:
Diffstat (limited to 'bb.edn')
-rw-r--r--bb.edn10
1 files changed, 10 insertions, 0 deletions
diff --git a/bb.edn b/bb.edn
new file mode 100644
index 0000000..72f9fa4
--- /dev/null
+++ b/bb.edn
@@ -0,0 +1,10 @@
+{:tasks
+ {build-wasm (do (println "building wasm...")
+ (shell {:dir "go"} "tinygo" "build"
+ "-o" "../resources/mf2go.wasm"
+ "-target" "wasip1"
+ "-buildmode=c-shared"
+ "main.go"))
+ build {:depends [build-wasm]
+ :task (do (println "building jar...")
+ (shell "lein" "uberjar"))}}}