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