mirror of
https://github.com/Eggbertx/gochan.git
synced 2025-08-03 07:36:23 -07:00
Only strip debugging symbols for releases
This commit is contained in:
parent
5986d572bb
commit
0bcd93379b
2 changed files with 3 additions and 4 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -1,6 +1,4 @@
|
|||
gochan.json
|
||||
gochan
|
||||
gochan.exe
|
||||
gochan*
|
||||
lib/
|
||||
log/
|
||||
releases/
|
||||
|
|
3
Makefile
3
Makefile
|
@ -14,7 +14,7 @@ VERSION=$(shell cat version)
|
|||
|
||||
GCFLAGS=-trimpath=${PWD}
|
||||
ASMFLAGS=-trimpath=${PWD}
|
||||
LDFLAGS=-X main.versionStr=${VERSION} -w -s
|
||||
LDFLAGS=-X main.versionStr=${VERSION}
|
||||
MINGW_PREFIX=GOARCH=amd64 CC='x86_64-w64-mingw32-gcc -fno-stack-protector -D_FORTIFY_SOURCE=0 -lssp
|
||||
|
||||
DOCUMENT_ROOT_FILES= \
|
||||
|
@ -97,6 +97,7 @@ release:
|
|||
cp sample-configs/*.nginx ${RELEASE_DIR}/sample-configs/
|
||||
cp sample-configs/gochan.example.json ${RELEASE_DIR}/sample-configs/
|
||||
make build
|
||||
strip ${BINEXE}
|
||||
make sass-minified
|
||||
mv ${BINEXE} ${RELEASE_DIR}/
|
||||
ifeq (${GCOS_NAME},macos)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue