update makefile and air config to run codegen
This commit is contained in:
9
Makefile
9
Makefile
@@ -1,3 +1,10 @@
|
||||
build:
|
||||
cd proxychain/codegen && go run codegen.go
|
||||
git submodule update --init --recursive
|
||||
git rev-parse --short HEAD > handlers/VERSION
|
||||
git rev-parse --short HEAD > cmd/VERSION
|
||||
go build -o ladder -ldflags="-s -w" cmd/main.go
|
||||
|
||||
lint:
|
||||
gofumpt -l -w .
|
||||
golangci-lint run -c .golangci-lint.yaml --fix
|
||||
@@ -10,4 +17,4 @@ install-linters:
|
||||
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.55.2
|
||||
|
||||
run:
|
||||
go run ./cmd/.
|
||||
go run ./cmd/.
|
||||
|
||||
Reference in New Issue
Block a user