aboutsummaryrefslogtreecommitdiff
path: root/bb.edn
diff options
context:
space:
mode:
authorPatrick Kingston <patrick@pkingston.xyz>2026-02-07 01:25:35 -0500
committerPatrick Kingston <patrick@pkingston.xyz>2026-02-07 01:25:35 -0500
commit80a1f6aa01bcff47bbe6c4273233997da0d3c271 (patch)
treeb9e419c70204113850de324c36f67d685f22c15d /bb.edn
parent91ab1e7b87b7d2e19f815e4dccaa57a8d47963a1 (diff)
Create build system with babashka
Diffstat (limited to 'bb.edn')
-rw-r--r--bb.edn13
1 files changed, 13 insertions, 0 deletions
diff --git a/bb.edn b/bb.edn
new file mode 100644
index 0000000..2411642
--- /dev/null
+++ b/bb.edn
@@ -0,0 +1,13 @@
+{:pods {org.babashka/fswatcher {:version "0.0.7"}}
+ :tasks
+ {build
+ {:doc "Builds the nesfab project"
+ :task (shell "../nesfab/nesfab nEs.cfg")}
+ watch
+ {:doc "Automatically build the nesfab project on file writes"
+ :requires ([pod.babashka.fswatcher :as fw])
+ :task (do (fw/watch "main.fab"
+ (fn [event]
+ (prn event)
+ (shell "../nesfab/nesfab nEs.cfg")))
+ (deref (promise)))}}}