diff options
| author | Paul Buetow <paul@buetow.org> | 2024-05-06 20:32:35 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2024-05-06 20:32:35 +0300 |
| commit | 8c2e75df51d1a74d8bca1d3d1a423f777159ba82 (patch) | |
| tree | b340984869230f92d0aea54d104efc5618c54954 /Taskfile.yml | |
| parent | d06809e50aa20b7f2e12ed43374aebb39e77a220 (diff) | |
refactor project file structure
Diffstat (limited to 'Taskfile.yml')
| -rw-r--r-- | Taskfile.yml | 19 |
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 |
