diff options
author | Jackson Taylor <jtaylormuffins@gmail.com> | 2020-04-12 14:20:00 -0400 |
---|---|---|
committer | Jackson Taylor <jtaylormuffins@gmail.com> | 2020-04-12 14:20:00 -0400 |
commit | 82d9f60bb183b9b85a470d2f61101ee9bfa2a95b (patch) | |
tree | 0a13ceaf45d3d504e2dabade6692cf29a532ef46 /Makefile | |
parent | 3d2804db63244f990eb4136bf9d0687e677b6b73 (diff) |
Add new rule to Makefile
Add go run to Makefile
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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) |