forked from JackalLabs/jackalapi
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
19 lines (12 loc) · 706 Bytes
/
Copy pathMakefile
File metadata and controls
19 lines (12 loc) · 706 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
format-tools:
go install mvdan.cc/gofumpt@v0.5.0
gofumpt -l -w .
lint: format-tools
golangci-lint run
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/jackalLabs/jackalgo
test:
@VERSION=$(VERSION) go test -short -mod=readonly -tags='ledger test_ledger_mock' ./...
.PHONY: lint format format-tools