Skip to content

Commit 6b22e43

Browse files
pavolloffayyurishkuro
authored andcommitted
Small make improvements: ignore binaries, update on go get (#1166)
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
1 parent eab423c commit 6b22e43

File tree

3 files changed

+10
-8
lines changed

3 files changed

+10
-8
lines changed

.gitignore

+6-5
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,15 @@ cover.html
1212
.mkdocs-virtual-env/
1313
vendor/
1414
examples/hotrod/hotrod
15+
examples/hotrod/hotrod-*
1516
cmd/all-in-one/all-in-one-*
1617
cmd/agent/agent
17-
cmd/agent/agent-linux
18+
cmd/agent/agent-*
1819
cmd/collector/collector
19-
cmd/collector/collector-linux
20+
cmd/collector/collector-*
2021
cmd/ingester/ingester
21-
cmd/ingester/ingester-linux
22+
cmd/ingester/ingester-*
2223
cmd/query/query
23-
cmd/query/query-linux
24-
crossdock/crossdock-linux
24+
cmd/query/query-*
25+
crossdock/crossdock-*
2526
run-crossdock.log

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ install: install-glide
161161

162162
.PHONY: install-statik
163163
install-statik:
164-
go get github.com/rakyll/statik
164+
go get -u github.com/rakyll/statik
165165

166166
.PHONY: build-examples
167167
build-examples: install-statik
@@ -325,7 +325,7 @@ generate-zipkin-swagger: idl-submodule
325325

326326
.PHONY: install-mockery
327327
install-mockery:
328-
go get github.com/vektra/mockery
328+
go get -u github.com/vektra/mockery
329329

330330
.PHONY: generate-mocks
331331
generate-mocks: install-mockery

examples/hotrod/services/frontend/statik/statik.go

+2-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)