This repository was archived by the owner on Nov 7, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +30
-10
lines changed Expand file tree Collapse file tree 4 files changed +30
-10
lines changed Original file line number Diff line number Diff line change 1
1
# More exclusions can be added similar with: -not -path './vendor/*'
2
2
ALL_SRC := $(shell find . -name '* .go' \
3
3
-not -path './vendor/* ' \
4
+ -not -path './tools/* ' \
4
5
-type f | sort)
5
6
6
7
# ALL_PKGS is used with 'go cover'
78
79
79
80
.PHONY : install-tools
80
81
install-tools :
81
- go get -u golang.org/x/lint/golint
82
- go get -u github.com/google/go-cmp/cmp
83
- go get contrib.go.opencensus.io/exporter/
[email protected]
84
- go get contrib.go.opencensus.io/exporter/prometheus
85
- go get contrib.go.opencensus.io/exporter/zipkin
82
+ go install golang.org/x/lint/golint
86
83
87
84
.PHONY : agent
88
85
agent :
Original file line number Diff line number Diff line change @@ -57,11 +57,7 @@ require (
57
57
go.uber.org/atomic v1.3.2 // indirect
58
58
go.uber.org/multierr v1.1.0 // indirect
59
59
go.uber.org/zap v1.9.1
60
- golang.org/x/crypto v0.0.0-20190611184440-5c40567a22f8 // indirect
61
- golang.org/x/lint v0.0.0-20190409202823-959b441ac422 // indirect
62
- golang.org/x/net v0.0.0-20190611141213-3f473d35a33a // indirect
63
- golang.org/x/sys v0.0.0-20190610200419-93c9922d18ae // indirect
64
- golang.org/x/tools v0.0.0-20190612180059-59534d075a87 // indirect
60
+ golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3
65
61
google.golang.org/api v0.5.0
66
62
google.golang.org/grpc v1.21.0
67
63
gopkg.in/DataDog/dd-trace-go.v1 v1.12.1 // indirect
Original file line number Diff line number Diff line change @@ -420,6 +420,7 @@ golang.org/x/exp v0.0.0-20190125153040-c74c464bbbf2/go.mod h1:CJ0aWSM057203Lf6IL
420
420
golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3 /go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE =
421
421
golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961 /go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU =
422
422
golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f /go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE =
423
+ golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3 h1:XQyxROzUlZH+WIQwySDgnISgOivlhjIEwaQaJEJrrN0 =
423
424
golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3 /go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc =
424
425
golang.org/x/lint v0.0.0-20190409202823-959b441ac422 h1:QzoH/1pFpZguR8NrRHLcO6jKqfv2zpuSqZLgdm7ZmjI =
425
426
golang.org/x/lint v0.0.0-20190409202823-959b441ac422 /go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc =
@@ -487,6 +488,7 @@ golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGm
487
488
golang.org/x/tools v0.0.0-20190206041539-40960b6deb8e /go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ =
488
489
golang.org/x/tools v0.0.0-20190226205152-f727befe758c /go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY =
489
490
golang.org/x/tools v0.0.0-20190311212946-11955173bddd /go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs =
491
+ golang.org/x/tools v0.0.0-20190312170243-e65039ee4138 h1:H3uGjxCR/6Ds0Mjgyp7LMK81+LvmbvWWEnJhzk1Pi9E =
490
492
golang.org/x/tools v0.0.0-20190312170243-e65039ee4138 /go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs =
491
493
golang.org/x/tools v0.0.0-20190612180059-59534d075a87 h1:RZgRBvCwrKVLcEd+O/QbyISA6RAPPLTYHdPw4Nk0Wz0 =
492
494
golang.org/x/tools v0.0.0-20190612180059-59534d075a87 /go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc =
Original file line number Diff line number Diff line change
1
+ // Copyright 2019, OpenCensus Authors
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+ //
15
+
16
+ // +build tools
17
+
18
+ // Package tools follows the recommendation at
19
+ // https://github.com/golang/go/wiki/Modules#how-can-i-track-tool-dependencies-for-a-module
20
+ // on how to add tooling dependencies.
21
+ package tools
22
+
23
+ import (
24
+ _ "golang.org/x/lint/golint"
25
+ )
You can’t perform that action at this time.
0 commit comments