From 82d9f60bb183b9b85a470d2f61101ee9bfa2a95b Mon Sep 17 00:00:00 2001 From: Jackson Taylor Date: Sun, 12 Apr 2020 14:20:00 -0400 Subject: Add new rule to Makefile Add go run to Makefile --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index b64c43a..bb8e176 100644 --- a/Makefile +++ b/Makefile @@ -2,6 +2,7 @@ GOCMD=go GOBUILD=$(GOCMD) build GOCLEAN=$(GOCMD) clean GOTEST=$(GOCMD) test +GORUN=$(GOCMD) run BINARY_NAME=jasbr all: build @@ -11,3 +12,6 @@ test: $(GOTEST) -v ./... clean: $(GOCLEAN) +run: + $(GOBUILD) -o $(BINARY_NAME) -v ./... + ./$(BINARY_NAME) -- cgit v1.2.3