Skip to content

Commit

Permalink
build: remove crdb-protobuf-client node_modules with ui-maintainer-clean
Browse files Browse the repository at this point in the history
In the master branch, NPM packages are placed in slightly different
locations than in v22.1. Ensure make ui-maintainer-clean removes
directories that may be leftover from a build of later versions.

Release note: None
  • Loading branch information
sjbarag committed Jun 29, 2022
1 parent da742f8 commit 9b1afea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -1445,7 +1445,7 @@ ui-clean: ## Remove build artifacts.
.PHONY: ui-maintainer-clean
ui-maintainer-clean: ## Like clean, but also remove installed dependencies
ui-maintainer-clean: ui-clean
rm -rf pkg/ui/node_modules pkg/ui/workspaces/db-console/node_modules pkg/ui/yarn.installed pkg/ui/workspaces/cluster-ui/node_modules
rm -rf pkg/ui/node_modules pkg/ui/workspaces/db-console/node_modules pkg/ui/yarn.installed pkg/ui/workspaces/cluster-ui/node_modules pkg/ui/workspaces/db-console/src/js/node_modules

pkg/roachprod/vm/aws/embedded.go: bin/.bootstrap pkg/roachprod/vm/aws/config.json pkg/roachprod/vm/aws/old.json bin/terraformgen
(cd pkg/roachprod/vm/aws && $(GO) generate)
Expand Down

0 comments on commit 9b1afea

Please sign in to comment.