Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Commit 9835830

Browse files
author
Nelson Araujo
committed
Fix: Enable build on a clean machine.
1 parent a717082 commit 9835830

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

enterprise/dev/app/tauri-build.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,9 @@ build() {
177177
bundles="$bundles,updater"
178178
fi
179179

180+
echo "--- :tauri: Installing packages"
181+
pnpm install
182+
180183
echo "--- :tauri: Building Application (${version}) with bundles '${bundles}' for platform: ${platform}"
181184
NODE_ENV=production pnpm run build-app-shell
182185
pnpm tauri build --bundles ${bundles} --target "${platform}"

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
"build-ts": "tsc --build tsconfig.all.json --emitDeclarationOnly",
2727
"build-web": "pnpm --filter @sourcegraph/web run build",
2828
"build-app-shell": "pnpm --filter @sourcegraph/app-shell run build",
29+
"build-app-macos-aarch64": "ARCH=aarch64-apple-darwin ./enterprise/dev/app/build.sh",
2930
"watch-web": "pnpm --filter @sourcegraph/web run watch",
3031
"generate": "gulp generate",
3132
"watch-generate": "gulp watchGenerate",

0 commit comments

Comments
 (0)