From e43c9b88e946a0d776c4165df07c3739be7eccd3 Mon Sep 17 00:00:00 2001 From: Kailash Nadh Date: Wed, 27 Mar 2019 13:35:51 +0530 Subject: [PATCH] Add target 'run' to Makefile --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index fb3815b7..c8816e78 100644 --- a/Makefile +++ b/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/...