about summary refs log tree commit diff
path: root/Taskfile.yml
blob: ec302d9b844c610c9614488c4f7e0e05eff94a55 (plain)
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
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

  open-test-socket:
    desc: "Opens and listens to `./test.socket`."
    cmds:
      - ncat -Ulk ./test.socket