aboutsummaryrefslogtreecommitdiff
path: root/bb.edn
diff options
context:
space:
mode:
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)))}}}