We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5e23ca2 commit 5ebf088Copy full SHA for 5ebf088
1 file changed
Makefile
@@ -32,6 +32,9 @@ clean:
32
rm -f $(PROJECT)/server/assets.go
33
rm -r dist
34
35
+compile:
36
+ go install $(LDFLAGS) ./$(PROJECT)/
37
+
38
coverage:
39
go test -race -covermode=atomic -coverprofile=c.out ./...
40
sed -i '/^github.com\/cloudcloud\/auto-docs\/server\/auto-docs\/assets.go.*/d' c.out
@@ -49,8 +52,7 @@ image: VERSION?=1.0.0
49
52
image:
50
53
docker build -t cloudcloud/auto-docs:v$(VERSION) .
51
54
-install: build-fe
- go install $(LDFLAGS) ./$(PROJECT)/
55
+install: build-fe compile
56
57
test: bin-dist install
58
go test -v -race ./...
0 commit comments