summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2023-05-01 19:24:38 +0300
committerPaul Buetow <paul@buetow.org>2023-05-01 19:24:38 +0300
commit3babd5aaf2f1086d5b9a13a53ba614d49280babb (patch)
tree3e468534b005e820c5a0a1b7ca5eb35ebb2f7172
parent3fbf8c458df210f68849512478dff6b93df12f46 (diff)
Add taskfile
-rw-r--r--README.md2
-rw-r--r--Taskfile.yml6
2 files changed, 7 insertions, 1 deletions
diff --git a/README.md b/README.md
index 941172f..001def2 100644
--- a/README.md
+++ b/README.md
@@ -37,7 +37,7 @@ To compile and install Gogios on OpenBSD, follow these steps:
```
git clone https://codeberg.org/snonux/gogios.git
cd gogios
-go build -o gogios cmd/gogios/main.go
+go build -o gogios cmd/gogios/main.go # Or, alternatively: `task build` with taskfile.dev
doas cp gogios /usr/local/bin/gogios
doas chmod 755 /usr/local/bin/gogios
```
diff --git a/Taskfile.yml b/Taskfile.yml
new file mode 100644
index 0000000..fb6b3bc
--- /dev/null
+++ b/Taskfile.yml
@@ -0,0 +1,6 @@
+version: '3'
+
+tasks:
+ build:
+ cmds:
+ - go build -o gogios cmd/gogios/main.go