go-starter-kit icon indicating copy to clipboard operation
go-starter-kit copied to clipboard

Ignore go build failure in makefile

Open dfilipovic39 opened this issue 9 years ago • 1 comments

Hi, there seems to be a problem when you modify go code, and makefile tries to rebuild server. If there is any compile time error the makefile recipe crashes.

Possible soultion would be prefixing build command with - : -@go build -ldflags '$(LDFLAGS)' -o $@ $(IMPORT_PATH)/server

Failed build will be ignored this way and old binary would be used

dfilipovic39 avatar Jun 09 '16 07:06 dfilipovic39

Hi @tarqe39,

thank you for the suggestion! BTW, pull requests are welcome.

olebedev avatar Jun 09 '16 07:06 olebedev