mirror of
https://github.com/aykhans/dodo.git
synced 2025-04-20 19:13:06 +00:00
🔧 Add 'run' and 'fmt' commands to Taskfile
This commit is contained in:
parent
046ce74cd9
commit
abaa8e90b2
@ -18,10 +18,14 @@ vars:
|
|||||||
archs: [386, amd64, arm64]
|
archs: [386, amd64, arm64]
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
|
run: go run main.go
|
||||||
|
|
||||||
lint: golangci-lint run
|
lint: golangci-lint run
|
||||||
|
|
||||||
build: go build -ldflags "-s -w" -o "dodo"
|
build: go build -ldflags "-s -w" -o "dodo"
|
||||||
|
|
||||||
|
fmt: gofmt -w -d .
|
||||||
|
|
||||||
build-all:
|
build-all:
|
||||||
silent: true
|
silent: true
|
||||||
cmds:
|
cmds:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user