mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-25 13:44:05 -08:00
15 lines
288 B
Makefile
15 lines
288 B
Makefile
all: parser.y.go lexer.l.go
|
|
|
|
parser.y.go: parser.y
|
|
go tool yacc -o parser.y.go -v "" parser.y
|
|
|
|
lexer.l.go: parser.y.go lexer.l
|
|
golex lexer.l
|
|
|
|
test: all
|
|
go test -i github.com/matttproud/prometheus/rules
|
|
go test github.com/matttproud/prometheus/rules
|
|
|
|
clean:
|
|
rm lexer.l.go parser.y.go
|