aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 963a540a81070476301726af0b40d3ca26870d26 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
.DEFAULT_GOAL := run

http_path := ./cmd/http
bins := ./http

fmt:
	go fmt $(http_path)
.PHONY:fmt

lint: fmt
	golint $(http_path)
.PHONY:lint

vet: lint
	go vet $(http_path)
.PHONY:vet

run: vet
	go run $(http_path)
.PHONY:run

build:
	go build $(http_path)
.PHONY:build

clean:
	rm -fv $(bins)
.PHONY:clean