~ecs/hq

ref: 6c304de8c7f3fb17164affb026ac087c483f3eca hq/Makefile -rw-r--r-- 229 bytes
6c304de8Ember Sawady Drop golint 6 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
.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 ./...
	go vet ./...
	go build -o $@

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

.PHONY: all clean