-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bb.edn
29 lines (23 loc) · 891 Bytes
/
bb.edn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{:paths ["bb"]
:tasks
{:requires ([tasks :as tasks]
[logger :refer [log]]
[babashka.fs :as fs]
[clojure.string :as string])
:init
(do (log "bb.edn running task"))
test (tasks/shell-and-log (str "./addons/gdUnit4/runtest.sh -c -a test"))
test-match (let [arg (some-> *command-line-args* first)]
(tasks/shell-and-log (str "./addons/gdUnit4/runtest.sh -c -a " arg)))
watch tasks/watch
serve-web
{:extra-deps {org.babashka/http-server {:local/root "../../babashka/http-server"}}
:requires ([babashka.http-server :as http-server])
:task (http-server/exec {:port 3010 :dir (str "dist/dothop-web")})}
generate-boxart
{:description ""
:task (tasks/generate-all-boxart)}
gd-plug
(tasks/shell-and-log
(str "godot --no-window -s plug.gd " (string/join " " *command-line-args*)))
}}