File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -42,9 +42,9 @@ sources = ["**/*.go"]
4242description = " Run the linters and auto-fix if possible"
4343depends = [" fmt" ]
4444run = [
45- " golangci-lint run --fix" ,
46- " typos" ,
47- " nilaway ./..." ,
45+ " golangci-lint run --fix" ,
46+ " typos" ,
47+ " nilaway ./..." ,
4848]
4949sources = [" **/*.go" , " .golangci.yml" ]
5050
@@ -56,8 +56,8 @@ run = "pkgsite -open"
5656[tasks .demo ]
5757description = " Render the demo gifs in parallel"
5858run = [
59- ' for file in ./docs/src/*.tape; do vhs "$file" & done; wait' ,
60- " freeze ./examples/cover/main.go --config ./docs/src/freeze.json --output ./docs/img/demo.png --show-line-numbers" ,
59+ ' for file in ./docs/src/*.tape; do vhs "$file" & done; wait' ,
60+ " freeze ./examples/cover/main.go --config ./docs/src/freeze.json --output ./docs/img/demo.png --show-line-numbers" ,
6161]
6262sources = [" ./docs/src/*.tape" , " **/*.go" ]
6363outputs = [" ./docs/img/*.gif" , " ./docs/img/demo.png" ]
@@ -87,13 +87,13 @@ run = "fd . -e go | xargs wc -l | sort -nr | head"
8787[tasks .clean ]
8888description = " Remove build artifacts and other clutter"
8989run = [
90- " go clean ./..." ,
91- " rm -rf *.out" ,
90+ " go clean ./..." ,
91+ " rm -rf *.out" ,
9292]
9393
9494[tasks .update ]
9595description = " Updates dependencies in go.mod and go.sum"
9696run = [
97- " go get -u ./..." ,
98- " go mod tidy" ,
97+ " go get -u ./..." ,
98+ " go mod tidy" ,
9999]
You can’t perform that action at this time.
0 commit comments