mirror of
https://github.com/hrfee/jfa-go.git
synced 2024-12-23 01:20:11 +00:00
strip debug symbols in makefile
This commit is contained in:
parent
ea99966057
commit
873afb47cd
9
Makefile
9
Makefile
@ -51,6 +51,13 @@ version:
|
|||||||
python3 version.py auto version.go
|
python3 version.py auto version.go
|
||||||
|
|
||||||
compile:
|
compile:
|
||||||
|
$(info Downloading deps)
|
||||||
|
$(GOBINARY) mod download
|
||||||
|
$(info Building)
|
||||||
|
mkdir -p build
|
||||||
|
cd build && CGO_ENABLED=0 $(GOBINARY) build -ldflags="-s -w" -o ./jfa-go ../*.go
|
||||||
|
|
||||||
|
compile-debug:
|
||||||
$(info Downloading deps)
|
$(info Downloading deps)
|
||||||
$(GOBINARY) mod download
|
$(GOBINARY) mod download
|
||||||
$(info Building)
|
$(info Building)
|
||||||
@ -90,4 +97,4 @@ install:
|
|||||||
|
|
||||||
all: configuration npm email version typescript bundle-css swagger copy embed compile
|
all: configuration npm email version typescript bundle-css swagger copy embed compile
|
||||||
all-external: configuration npm email version ts-debug bundle-css swagger copy noembed compile
|
all-external: configuration npm email version ts-debug bundle-css swagger copy noembed compile
|
||||||
debug: configuration npm email version ts-debug bundle-css swagger copy noembed compile
|
debug: configuration npm email version ts-debug bundle-css swagger copy noembed compile-debug
|
||||||
|
Loading…
Reference in New Issue
Block a user