Skip to content

Commit

Permalink
chore: Add go mod tidy to codegen (#2332)
Browse files Browse the repository at this point in the history
  • Loading branch information
simster7 authored Mar 2, 2020
1 parent a66c880 commit c28731b
Show file tree
Hide file tree
Showing 2 changed files with 192 additions and 79 deletions.
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -203,11 +203,18 @@ endif
.PHONY: codegen
codegen:
# Generate code
# We need the vendor folder for compatibility
go mod vendor

./hack/generate-proto.sh
./hack/update-codegen.sh
make api/openapi-spec/swagger.json
find . -path '*/mocks/*' -type f -not -path '*/vendor/*' -exec ./hack/update-mocks.sh {} ';'

rm -rf ./vendor
go mod tidy


.PHONY: manifests
manifests: status manifests/install.yaml manifests/namespace-install.yaml manifests/quick-start-mysql.yaml manifests/quick-start-postgres.yaml manifests/quick-start-no-db.yaml test/e2e/manifests/postgres.yaml test/e2e/manifests/mysql.yaml test/e2e/manifests/no-db.yaml

Expand Down
Loading

0 comments on commit c28731b

Please sign in to comment.