shrink binary size with an option in Makefile

This commit is contained in:
Paul 2019-02-22 10:55:20 +01:00
parent 2aa9ed415e
commit 47b6b7e33d

View File

@ -1,7 +1,7 @@
VERSION := $(shell cat ./VERSION) VERSION := $(shell cat ./VERSION)
build: build:
go build github_to_gogs.go go build -ldflags="-s -w" github_to_gogs.go
release: release: