aboutsummaryrefslogtreecommitdiff
path: root/bb.edn
blob: 7fbc33687e66673a9cc374f61571921f535902f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{:pods {org.babashka/fswatcher {:version "0.0.7"}}
 :tasks 
 {build 
  {:doc "Builds the nesfab project"
   :task (do
           (shell "rm nEslabels.mlb")
           (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)))}}}