mirror of https://github.com/certusone/wasmd.git
Install misspell command
This commit is contained in:
parent
c8b47f96bd
commit
b551b1f00e
7
Makefile
7
Makefile
|
@ -148,14 +148,15 @@ test-sim-multi-seed-short: runsim
|
|||
### Linting ###
|
||||
###############################################################################
|
||||
|
||||
gofumpt:
|
||||
format-tools:
|
||||
go install mvdan.cc/gofumpt@v0.3.1
|
||||
go install github.com/client9/misspell/cmd/misspell@v0.3.4
|
||||
|
||||
lint: gofumpt
|
||||
lint: format-tools
|
||||
golangci-lint run --tests=false
|
||||
find . -name '*.go' -type f -not -path "./vendor*" -not -path "*.git*" -not -path "*_test.go" | xargs gofumpt -d -s
|
||||
|
||||
format: gofumpt
|
||||
format: format-tools
|
||||
find . -name '*.go' -type f -not -path "./vendor*" -not -path "*.git*" -not -path "./client/lcd/statik/statik.go" | xargs gofumpt -w -s
|
||||
find . -name '*.go' -type f -not -path "./vendor*" -not -path "*.git*" -not -path "./client/lcd/statik/statik.go" | xargs misspell -w
|
||||
find . -name '*.go' -type f -not -path "./vendor*" -not -path "*.git*" -not -path "./client/lcd/statik/statik.go" | xargs goimports -w -local github.com/CosmWasm/wasmd
|
||||
|
|
Loading…
Reference in New Issue