Skip to content

Commit

Permalink
add proxy build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
mylxsw committed Nov 12, 2020
1 parent 33d5606 commit 592a35b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ build:
build-proxy:
go build -race -ldflags "$(LDFLAGS)" -o build/debug/adanos-proxy cmd/proxy/main.go

build-proxy-dist:
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags "$(LDFLAGS)" -o build/release/adanos-proxy cmd/proxy/main.go

build-deploy-bin:
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags "$(LDFLAGS)" -o .ansible/roles/server/files/adanos-alert-server cmd/server/main.go
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags "$(LDFLAGS)" -o .ansible/roles/agent/files/adanos-alert-agent cmd/agent/main.go
Expand Down

0 comments on commit 592a35b

Please sign in to comment.