chore: disable go install

main
sudo pacman -Syu 2024-02-10 08:50:52 +07:00
parent b437a172aa
commit 605fe158e4
1 changed files with 4 additions and 4 deletions

View File

@ -12,7 +12,7 @@ test:
go test -race -failfast ./... go test -race -failfast ./...
test-color: 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 ./... go-test-color -race -failfast ./...
coverage: coverage:
@ -30,8 +30,8 @@ lint:
golangci-lint run ./... golangci-lint run ./...
format: format:
go install github.com/haunt98/gofimports/cmd/gofimports@latest # go install github.com/haunt98/gofimports/cmd/gofimports@latest
go install mvdan.cc/gofumpt@latest # go install mvdan.cc/gofumpt@latest
gofimports -w --company github.com/make-go-great,github.com/haunt98 . gofimports -w --company github.com/make-go-great,github.com/haunt98 .
gofumpt -w -extra . gofumpt -w -extra .
@ -46,7 +46,7 @@ format-html:
srht: srht:
# https://srht.site/quickstart # https://srht.site/quickstart
go install git.sr.ht/~emersion/hut@latest # go install git.sr.ht/~emersion/hut@latest
tar -C docs -cvz . > site.tar.gz tar -C docs -cvz . > site.tar.gz
# Need to run hut init first # Need to run hut init first
hut pages publish -d youngyoshie.srht.site site.tar.gz hut pages publish -d youngyoshie.srht.site site.tar.gz