forked from piprate/json-gold
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
31 lines (24 loc) · 753 Bytes
/
Makefile
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
29
30
31
.PHONY: all vet lint test fmt help
all: lint test
vet:
go vet github.com/piprate/json-gold/...
test: vet
go test github.com/piprate/json-gold/...
lint:
golangci-lint run
fmt:
gofmt -s -w .
generate-report:
SKIP_MODE=fail make test
cp ld/earl.jsonld conformance_report.jsonld
help:
@echo ''
@echo ' Targets:'
@echo '--------------------------------------------------'
@echo ' all - Run everything '
@echo ' fmt - Format code '
@echo ' lint - Run golangci-lint '
@echo ' vet - Run vet '
@echo ' test - Run all tests '
@echo '--------------------------------------------------'
@echo ''