Files
dokku/plugins/common/Makefile
Jose Diaz-Gonzalez 02d653a1aa refactor: omit DWARF symbol table and debug information from go binaries
This will reduce the size of binaries in exchange for worse debugging output. This is acceptable for our users and worth it to save money on packagecloud package hosting - which is currently free under a given repository size.
2019-11-27 21:12:16 -05:00

11 lines
180 B
Makefile

BUILD = prop
PLUGIN_NAME = common
clean-prop:
rm -rf prop
prop: clean-prop **/**/prop.go
go build -ldflags="-s -w" $(GO_ARGS) -o prop src/prop/prop.go
include ../../common.mk