mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2024-12-26 21:05:00 +02:00
[chore] Add go-work Make target (#4199)
Co-authored-by: Chester Cheung <cheung.zhy.csu@gmail.com> Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
This commit is contained in:
parent
e7ff6a36dc
commit
4f4815406a
5
Makefile
5
Makefile
@ -124,6 +124,11 @@ go-generate/%: | $(STRINGER)
|
|||||||
vanity-import-fix: | $(PORTO)
|
vanity-import-fix: | $(PORTO)
|
||||||
@$(PORTO) --include-internal -w .
|
@$(PORTO) --include-internal -w .
|
||||||
|
|
||||||
|
# Generate go.work file for local development.
|
||||||
|
.PHONY: go-work
|
||||||
|
go-work: | $(CROSSLINK)
|
||||||
|
$(CROSSLINK) work --root=$(shell pwd)
|
||||||
|
|
||||||
# Build
|
# Build
|
||||||
|
|
||||||
.PHONY: build
|
.PHONY: build
|
||||||
|
Loading…
Reference in New Issue
Block a user