Skip to content

chore: clean up repo (backport #1100) #1101

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: release/v1.3.x
Choose a base branch
from
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
14 changes: 9 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,22 +24,26 @@ test-short:
@go test ./... $(LDFLAGS) -v --race --short
.PHONY: test-short

<<<<<<< HEAD
cmd/legacydump/legacydump:
cd cmd/legacydump && go build -o legacydump main.go
=======
legacydump:
@cd cmd/legacydump && go build -o legacydump main.go
>>>>>>> 0e4c40f (chore: clean up repo (#1100))

test: cmd/legacydump/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
<<<<<<< HEAD
golangci_version=v1.59.1
=======
golangci_version=v2.1.6
>>>>>>> 0e4c40f (chore: clean up repo (#1100))

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