summaryrefslogtreecommitdiff
path: root/Makefile
blob: e7c28404f3a62afffc37d41fb6f06aa0a613607f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
GOCMD=go
GOBUILD=$(GOCMD) build
GOCLEAN=$(GOCMD) clean
GOTEST=$(GOCMD) test
GORUN=$(GOCMD) run
GOINSTALL=$(GOCMD) install
BINARY_NAME=jasbr

all: build
build:
		$(GOBUILD) -o $(BINARY_NAME) -v
test:
		$(GOTEST) -v ./...
clean:
		$(GOCLEAN)
run:
	    $(GOBUILD) -o $(BINARY_NAME) -v ./...
		./$(BINARY_NAME)
install:
	    $(GOINSTALL)