mirror of
https://github.com/alm494/sql_proxy.git
synced 2026-04-05 11:51:03 +02:00
Update Makefile
This commit is contained in:
2
Makefile
2
Makefile
@@ -32,7 +32,6 @@ clean:
|
||||
|
||||
# Build for production
|
||||
prod: clean
|
||||
@echo "Building $(PROJECT_NAME) or production..."
|
||||
GOOS=${GOOS} GOARCH=${GOARCH} go build $(TAGS) \
|
||||
-ldflags="-s -w \
|
||||
-X ${PROJECT_NAME}/src/app.BuildVersion=${BUILD_VERSION} \
|
||||
@@ -41,7 +40,6 @@ prod: clean
|
||||
|
||||
# Build for debugging
|
||||
debug: clean
|
||||
@echo "Building $(PROJECT_NAME) or production..."
|
||||
GOOS=${GOOS} GOARCH=${GOARCH} go build $(TAGS) \
|
||||
-ldflags="\
|
||||
-X ${PROJECT_NAME}/src/app.BuildVersion=${BUILD_VERSION}-debug \
|
||||
|
||||
Reference in New Issue
Block a user