diff options
| author | Patrick Kingston <patrick@pkingston.xyz> | 2026-02-07 01:25:35 -0500 |
|---|---|---|
| committer | Patrick Kingston <patrick@pkingston.xyz> | 2026-02-07 01:25:35 -0500 |
| commit | 80a1f6aa01bcff47bbe6c4273233997da0d3c271 (patch) | |
| tree | b9e419c70204113850de324c36f67d685f22c15d /bb.edn | |
| parent | 91ab1e7b87b7d2e19f815e4dccaa57a8d47963a1 (diff) | |
Create build system with babashka
Diffstat (limited to 'bb.edn')
| -rw-r--r-- | bb.edn | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -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)))}}} |
