From 9b1afea62d078a46cd8ae76d149d0bdabb7c6630 Mon Sep 17 00:00:00 2001 From: Sean Barag Date: Fri, 10 Jun 2022 18:21:10 +0000 Subject: [PATCH] build: remove crdb-protobuf-client node_modules with ui-maintainer-clean 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 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0bc87e039ec3..ccaa40417602 100644 --- a/Makefile +++ b/Makefile @@ -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)