Skip to content
This repository was archived by the owner on Jul 11, 2022. It is now read-only.

Commit 030167c

Browse files
committed
Added some make targets
1 parent 7359fcd commit 030167c

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

Makefile

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.PHONY: all test clean
1+
.PHONY: all build lint vet test clean
22

33
BUILDS_DIR = builds
44

@@ -13,8 +13,20 @@ all:
1313
goxc -bc="!plan9" -arch='amd64' -pv="$(RELEASE)" -d="$(BUILDS_DIR)" -include=LICENSE -os='darwin freebsd linux windows' go-vet go-test xc archive-zip archive-tar-gz ; \
1414
fi
1515

16+
build:
17+
@go build ./...
18+
19+
lint:
20+
@golint ./...
21+
22+
vet:
23+
@go vet ./...
24+
1625
test:
1726
@go test -cover -race ./...
1827

28+
install:
29+
@go install ./...
30+
1931
clean:
2032
rm -rf "$(BUILDS_DIR)"

0 commit comments

Comments
 (0)