about summary refs log tree commit diff
path: root/Taskfile.yml
diff options
context:
space:
mode:
authorMel <einebeere@gmail.com>2023-08-23 03:09:18 +0200
committerMel <einebeere@gmail.com>2023-08-23 03:09:37 +0200
commit48b1e7fd8fb16daacd7b87f6bc6d422400cd0a5f (patch)
tree09bb99b7c39e32b44e4ad953627d09acdac95606 /Taskfile.yml
downloadcthcous-48b1e7fd8fb16daacd7b87f6bc6d422400cd0a5f.tar.zst
cthcous-48b1e7fd8fb16daacd7b87f6bc6d422400cd0a5f.zip
Initial
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