~ecs/hq

ref: 0601cff379ecd5c764a6ca5fc346f1cc266c439b hq/Makefile -rw-r--r-- 243 bytes
0601cff3Ember Sawady go get -u 6 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
.POSIX:
SRC!=find . -name '*.go' -or -name '*.y'
SRC+=go.mod go.sum

all: hq

hq: go.mod go.sum $(SRC)
	go generate ./...
	go fmt ./...
	golint ./...
	go vet ./...
	go build -o $@

clean:
	go clean
	rm -f y.output parse.go

.PHONY: all clean