File tree Expand file tree Collapse file tree 5 files changed +17
-14
lines changed Expand file tree Collapse file tree 5 files changed +17
-14
lines changed Original file line number Diff line number Diff line change @@ -310,17 +310,13 @@ generate: install-tools
310
310
PATH=" $$ PWD/.tools:$$ PATH" $(MAKE ) for-all CMD=" $( GOCMD) generate ./..."
311
311
$(MAKE ) gofmt
312
312
313
- .PHONY : githubgen-install
314
- githubgen-install :
315
- cd cmd/githubgen && $(GOCMD ) install .
316
-
317
313
.PHONY : gengithub
318
- gengithub : githubgen-install
319
- githubgen
314
+ gengithub : $( GITHUBGEN )
315
+ $( GITHUBGEN )
320
316
321
317
.PHONY : gendistributions
322
- gendistributions : githubgen-install
323
- githubgen distributions
318
+ gendistributions : $( GITHUBGEN )
319
+ $( GITHUBGEN ) distributions
324
320
325
321
.PHONY : update-codeowners
326
322
update-codeowners : gengithub generate
@@ -556,9 +552,8 @@ clean:
556
552
find . -type f -name ' builtunitetest.test' -delete
557
553
558
554
.PHONY : generate-gh-issue-templates
559
- generate-gh-issue-templates :
560
- cd cmd/githubgen && $(GOCMD ) install .
561
- githubgen issue-templates
555
+ generate-gh-issue-templates : $(GITHUBGEN )
556
+ $(GITHUBGEN ) issue-templates
562
557
563
558
.PHONY : checks
564
559
checks :
Original file line number Diff line number Diff line change @@ -74,6 +74,7 @@ CHECKFILE := $(TOOLS_BIN_DIR)/checkfile
74
74
CROSSLINK := $(TOOLS_BIN_DIR)/crosslink
75
75
GOJUNIT := $(TOOLS_BIN_DIR)/go-junit-report
76
76
BUILDER := $(TOOLS_BIN_DIR)/builder
77
+ GITHUBGEN := $(TOOLS_BIN_DIR)/githubgen
77
78
GOFUMPT := $(TOOLS_BIN_DIR)/gofumpt
78
79
GOVULNCHECK := $(TOOLS_BIN_DIR)/govulncheck
79
80
GCI := $(TOOLS_BIN_DIR)/gci
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ require (
14
14
go.opentelemetry.io/build-tools/checkfile v0.16.0
15
15
go.opentelemetry.io/build-tools/chloggen v0.16.0
16
16
go.opentelemetry.io/build-tools/crosslink v0.16.0
17
+ go.opentelemetry.io/build-tools/githubgen v0.0.0-20250120111601-b29324c2a9f5
17
18
go.opentelemetry.io/build-tools/issuegenerator v0.16.0
18
19
go.opentelemetry.io/build-tools/multimod v0.16.0
19
20
go.opentelemetry.io/collector/cmd/builder v0.118.1-0.20250121185328-fbefb22cc2b3
@@ -107,7 +108,8 @@ require (
107
108
github.com/golangci/unconvert v0.0.0-20240309020433-c5143eacb3ed // indirect
108
109
github.com/google/go-cmp v0.6.0 // indirect
109
110
github.com/google/go-github v17.0.0+incompatible // indirect
110
- github.com/google/go-querystring v1.0.0 // indirect
111
+ github.com/google/go-github/v66 v66.0.0 // indirect
112
+ github.com/google/go-querystring v1.1.0 // indirect
111
113
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
112
114
github.com/gordonklaus/ineffassign v0.1.0 // indirect
113
115
github.com/gostaticanalysis/analysisutil v0.7.1 // indirect
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ import (
22
22
_ "go.opentelemetry.io/build-tools/checkfile"
23
23
_ "go.opentelemetry.io/build-tools/chloggen"
24
24
_ "go.opentelemetry.io/build-tools/crosslink"
25
+ _ "go.opentelemetry.io/build-tools/githubgen"
25
26
_ "go.opentelemetry.io/build-tools/issuegenerator"
26
27
_ "go.opentelemetry.io/build-tools/multimod"
27
28
_ "go.opentelemetry.io/collector/cmd/builder"
You can’t perform that action at this time.
0 commit comments