-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathMakefile
More file actions
25 lines (19 loc) · 734 Bytes
/
Makefile
File metadata and controls
25 lines (19 loc) · 734 Bytes
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
IGNORE_FILE = $(foreach file,Makefile,--ignore $(file))
IGNORE_DIR = $(foreach dir,vendor testdata internal,--ignore-dir $(dir))
IGNORE = $(IGNORE_FILE) $(IGNORE_DIR)
all: test
install:
go install -v -x ./...
install-force:
rm -rf $(GOPATH)/pkg/darwin_amd64/github.com/zchee/go-qcow2 $(GOPATH)/pkg/darwin_amd64/github.com/zchee/go-qcow2.a
go install -v -x ./...
test:
go run cmd/qcow-test/qcow-test.go
readbyte search testdata/test.qcow2
todo:
@ag 'TODO(\(.+\):|:)' --after=1 $(IGNORE) || true
@ag 'BUG(\(.+\):|:)' --after=1 $(IGNORE)|| true
@ag 'XXX(\(.+\):|:)' --after=1 $(IGNORE)|| true
@ag 'FIXME(\(.+\):|:)' --after=1 $(IGNORE) || true
@ag 'NOTE(\(.+\):|:)' --after=1 $(IGNORE) || true
.PHONY: todo test install