Only download protoc if necessary

This commit is contained in:
Gregory Schier
2024-09-24 07:14:15 -07:00
parent 44e5c2b1d7
commit 574a92f5b7
3 changed files with 52 additions and 29 deletions

View File

@@ -18,7 +18,7 @@
"scripts": {
"app-build": "tauri build",
"app-dev": "tauri dev --no-watch --config ./src-tauri/tauri-dev.conf.json",
"bootstrap": "run-p bootstrap:* && npm run --workspaces --if-present build",
"bootstrap": "run-p bootstrap:* && npm run -w plugin-runtime build",
"bootstrap:vendor-node": "node scripts/vendor-node.cjs",
"bootstrap:vendor-plugins": "node scripts/vendor-plugins.cjs",
"bootstrap:vendor-protoc": "node scripts/vendor-protoc.cjs",