mirror of
https://github.com/knadh/listmonk.git
synced 2024-12-27 17:37:57 +08:00
Add target 'run' to Makefile
This commit is contained in:
parent
5acde50c2e
commit
e43c9b88e9
1 changed files with 4 additions and 0 deletions
4
Makefile
4
Makefile
|
@ -51,6 +51,10 @@ build:
|
|||
go build -o ${BIN} -ldflags="-s -w -X 'main.buildVersion=${VERSION}' -X 'main.buildDate=${BUILD_DATE}'"
|
||||
stuffbin -a stuff -in ${BIN} -out ${BIN} ${STATIC}
|
||||
|
||||
.PHONY: run
|
||||
run: build
|
||||
./${BIN}
|
||||
|
||||
.PHONY: deps
|
||||
deps:
|
||||
go get -u github.com/knadh/stuffbin/...
|
||||
|
|
Loading…
Reference in a new issue