Skip to content

Commit

Permalink
build: copy proto files from GOPATH so we can clone outside of GOPATH (
Browse files Browse the repository at this point in the history
…#2360)

* build: copy proto files from GOPATH so we can clone outside of GOPATH

Signed-off-by: zachaller <[email protected]>

* always return true so that we can run within GOPATH as well

Signed-off-by: zachaller <[email protected]>

Signed-off-by: zachaller <[email protected]>
  • Loading branch information
zachaller authored Oct 31, 2022
1 parent 9d43599 commit 381feea
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ k8s-proto: go-mod-vendor $(TYPES)
--proto-import $(CURDIR)/vendor \
--proto-import=${DIST_DIR}/protoc-include
touch pkg/apis/rollouts/v1alpha1/generated.proto
cp -R ${GOPATH}/src/github.com/argoproj/argo-rollouts/pkg . | true


# generates *.pb.go, *.pb.gw.go, swagger from .proto files
.PHONY: api-proto
Expand Down

0 comments on commit 381feea

Please sign in to comment.