-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathmakefile
More file actions
31 lines (25 loc) · 696 Bytes
/
makefile
File metadata and controls
31 lines (25 loc) · 696 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
26
27
28
29
30
31
.PHONY: all
all:
@echo "make <cmd>"
@echo ""
@echo "commands:"
@echo " benchmark - run all benchmarks"
@echo " deps - install dependencies from Glockfile"
@echo " test - run all tests"
@echo " tools - install dev dependencies"
@echo " update_deps - update Glockfile"
benchmark:
@go test -bench=. -benchmem
deps:
@glock sync -n github.com/crowdriff/lru < Glockfile
test:
@go vet ./...
@golint ./...
@ginkgo -r -v -cover -race
tools:
go get -u github.com/golang/lint/golint
go get -u github.com/robfig/glock
go get -u github.com/onsi/ginkgo/ginkgo
go get -u github.com/onsi/gomega
update_deps:
@glock save -n github.com/crowdriff/lru > Glockfile