diff --git a/.gitignore b/.gitignore index ea4e1146..9e02b1f2 100644 --- a/.gitignore +++ b/.gitignore @@ -15,4 +15,10 @@ # vendor/ # Go go.work -go.work.sum \ No newline at end of file +go.work.sum + +bin/ + +# IDE config +.vscode/ +.idea/ \ No newline at end of file diff --git a/Makefile b/Makefile index 7d70d5b5..5be5044b 100644 --- a/Makefile +++ b/Makefile @@ -100,7 +100,11 @@ lint: @find . -name '*.go' -type f -not -path "./vendor*" -not -path "*.git*" -not -name '*.pb.go' -not -name '*.gw.go' | xargs go run mvdan.cc/gofumpt -w . @find . -name '*.go' -type f -not -path "./vendor*" -not -path "*.git*" -not -name '*.pb.go' -not -name '*.gw.go' | xargs go run github.com/client9/misspell/cmd/misspell -w @find . -name '*.go' -type f -not -path "./vendor*" -not -path "*.git*" -not -name '*.pb.go' -not -name '*.gw.go' | xargs go run golang.org/x/tools/cmd/goimports -w -local github.com/osmosis-labs/fee-abstraction -.PHONY: lint + +test: + go test -race -v ./... + +.PHONY: lint test ############################################################################### ### Interchain test ###