summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
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)