summaryrefslogtreecommitdiff
path: root/Taskfile.yml
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2024-05-06 20:32:35 +0300
committerPaul Buetow <paul@buetow.org>2024-05-06 20:32:35 +0300
commit8c2e75df51d1a74d8bca1d3d1a423f777159ba82 (patch)
treeb340984869230f92d0aea54d104efc5618c54954 /Taskfile.yml
parentd06809e50aa20b7f2e12ed43374aebb39e77a220 (diff)
refactor project file structure
Diffstat (limited to 'Taskfile.yml')
-rw-r--r--Taskfile.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/Taskfile.yml b/Taskfile.yml
new file mode 100644
index 0000000..4363202
--- /dev/null
+++ b/Taskfile.yml
@@ -0,0 +1,19 @@
+version: '3'
+
+tasks:
+ build:
+ cmds:
+ - go build -o gosd cmd/gosd/main.go
+ dev:
+ deps: ["vet", "lint"]
+ cmds:
+ - go build -race -o gosd cmd/gosd/main.go
+ vet:
+ cmds:
+ - go vet **/*.go
+ lint:
+ cmds:
+ - golangci-lint run
+ lint-install:
+ cmds:
+ - go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest