Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 2 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,16 @@ test-short:
.PHONY: test-short

legacydump:
cd cmd/legacydump && go build -o legacydump main.go
@cd cmd/legacydump && go build -o legacydump main.go

test: legacydump
@echo "--> Running go test"
@go test ./... $(LDFLAGS)
.PHONY: test

format:
find . -name '*.go' -type f -not -path "*.git*" -not -name '*.pb.go' -not -name '*pb_test.go' | xargs gofmt -w -s
find . -name '*.go' -type f -not -path "*.git*" -not -name '*.pb.go' -not -name '*pb_test.go' | xargs goimports -format
.PHONY: format

# look into .golangci.yml for enabling / disabling linters
golangci_lint_cmd=golangci-lint
golangci_version=v2.0.2
golangci_version=v2.1.6

lint:
@echo "--> Running linter"
Expand Down
Loading