Skip to content

Commit

Permalink
Add target 'run' to Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
knadh committed Mar 27, 2019
1 parent 5acde50 commit e43c9b8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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/...
Expand Down

0 comments on commit e43c9b8

Please sign in to comment.