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
…argoproj#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 and jandersen-plaid committed Nov 26, 2022
1 parent 51a061b commit 0bc59bd
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 0bc59bd

Please sign in to comment.