about summary refs log tree commit diff
path: root/Taskfile.yml
diff options
context:
space:
mode:
Diffstat (limited to 'Taskfile.yml')
-rw-r--r--Taskfile.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/Taskfile.yml b/Taskfile.yml
new file mode 100644
index 0000000..adda6eb
--- /dev/null
+++ b/Taskfile.yml
@@ -0,0 +1,20 @@
+version: "3"
+
+tasks:
+  build:
+    desc: "Builds both the cthcous daemon and the container bridge binaries."
+    cmds:
+      - go build -o build/bridge git.rnrd.eu/cthcous/bridge
+      - go build -o build/cthcous git.rnrd.eu/cthcous
+
+  run:
+    desc: "Runs cthcous binary."
+    deps: [build]
+    cmds:
+      - build/cthcous
+
+  run-container:
+    desc: "Runs the container bridge binary."
+    deps: [build]
+    cmds:
+      - build/bridge