Updated Makefile for new build options

This commit is contained in:
Ben Wilson 2020-01-22 08:57:40 -05:00 committed by Larry Ruane
parent dffb18cf0f
commit a3936b376a
2 changed files with 3 additions and 3 deletions

View File

@ -40,7 +40,7 @@ build:build-linux:
- make
artifacts:
paths:
- ./server
- ./lightwalletd
.build-windows:
stage: build

View File

@ -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: