Skip to content

Commit 58b98ea

Browse files
committed
Add clean:test-dbs npm script
1 parent 4e87b24 commit 58b98ea

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@
3434
"build": "npm run build -w server && npm run build -w extensions/vscode",
3535
"build-and-test": "npm run build:all && npm run test:all",
3636
"build:all": "npm run tidy && npm run build -w server && npm run build -w client && npm run build -w extensions/vscode",
37-
"clean": "npm run clean -w client -w server -w extensions/vscode",
37+
"clean": "npm run clean -w client -w server -w extensions/vscode && npm run clean:test-dbs",
38+
"clean:test-dbs": "find server/ql .github/skills -type d -name '*.testproj' -exec rm -rf {} + 2>/dev/null; true",
3839
"dev:stdio": "npm run dev:stdio -w server",
3940
"dev:http": "npm run dev:http -w server",
4041
"format": "prettier --write '**/*.{yml,yaml,md}'",
@@ -47,7 +48,7 @@
4748
"test:client": "npm run test:integration:default -w client",
4849
"test:server": "npm run test -w server",
4950
"test:vscode": "npm run test -w extensions/vscode",
50-
"package:vscode": "npm run package -w extensions/vscode",
51+
"package:vscode": "npm run clean:test-dbs &&npm run package -w extensions/vscode",
5152
"tidy": "npm run lint:fix && npm run format",
5253
"tidy:check": "npm run lint && npm run format:check",
5354
"upgrade": "npm run upgrade:node",

0 commit comments

Comments
 (0)