67a4016fdf
- Adopts Go workspaces for future compatibility with the Bedrock move into the monorepo - Moves Go packages to the root of the repo in order to fix import paths - Rewrites existing Go import paths - Removes Stackman, since it's not needed anymore Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
21 lines
375 B
Makefile
21 lines
375 B
Makefile
LDFLAGSSTRING +=-X main.GitCommit=$(GITCOMMIT)
|
|
LDFLAGSSTRING +=-X main.GitDate=$(GITDATE)
|
|
LDFLAGSSTRING +=-X main.GitVersion=$(GITVERSION)
|
|
LDFLAGS := -ldflags "$(LDFLAGSSTRING)"
|
|
|
|
proxyd:
|
|
go build -v $(LDFLAGS) -o ./bin/proxyd ./cmd/proxyd
|
|
.PHONY: proxyd
|
|
|
|
fmt:
|
|
go mod tidy
|
|
gofmt -w .
|
|
.PHONY: fmt
|
|
|
|
test:
|
|
go test -race -v ./...
|
|
.PHONY: test
|
|
|
|
lint:
|
|
go vet ./...
|
|
.PHONY: test |