Updated Makefile for new build options
This commit is contained in:
parent
dffb18cf0f
commit
a3936b376a
|
@ -40,7 +40,7 @@ build:build-linux:
|
|||
- make
|
||||
artifacts:
|
||||
paths:
|
||||
- ./server
|
||||
- ./lightwalletd
|
||||
|
||||
.build-windows:
|
||||
stage: build
|
||||
|
|
4
Makefile
4
Makefile
|
@ -120,10 +120,10 @@ dep:
|
|||
|
||||
# Build binary
|
||||
build:
|
||||
GO111MODULE=on CGO_ENABLED=1 go build -i -v ./cmd/server
|
||||
GO111MODULE=on go build
|
||||
|
||||
build_rel:
|
||||
GO111MODULE=on CGO_ENABLED=1 GOOS=linux go build -ldflags="-s -w" -i -v ./cmd/server
|
||||
GO111MODULE=on GOOS=linux go build
|
||||
|
||||
# Install binaries into Go path
|
||||
install:
|
||||
|
|
Loading…
Reference in New Issue