sudo pacman -Syu 2024-02-10 08:53:58 +07:00
parent 4d2ea24c41
commit 239d94336a
2 changed files with 5 additions and 4 deletions

View File

@ -12,7 +12,7 @@ test:
go test -race -failfast ./...
test-color:
go install github.com/haunt98/go-test-color@latest
# go install github.com/haunt98/go-test-color@latest
go-test-color -race -failfast ./...
coverage:
@ -31,9 +31,9 @@ lint:
golangci-lint run ./...
format:
go install github.com/haunt98/gofimports/cmd/gofimports@latest
go install mvdan.cc/gofumpt@latest
go install mvdan.cc/sh/v3/cmd/shfmt@latest
# go install github.com/haunt98/gofimports/cmd/gofimports@latest
# go install mvdan.cc/gofumpt@latest
# go install mvdan.cc/sh/v3/cmd/shfmt@latest
gofimports -w --company github.com/make-go-great,github.com/haunt98 .
gofumpt -w -extra .
shfmt -w -ci -i 4 ./scripts ./data/zsh

View File

@ -33,6 +33,7 @@ git config --global pull.rebase false
git config --global pull.twohead ort
git config --global push.autoSetupRemote true
git config --global rebase.stat true
git config --global rerere.enabled true
# https://github.com/dandavison/delta
git config --global core.pager delta