|
10 | 10 | "scripts": {
|
11 | 11 | "dev:ui": "pnpm --filter @gitbutler/ui storybook",
|
12 | 12 | "dev:web": "turbo watch --filter @gitbutler/web dev",
|
13 |
| - "dev:desktop": "export CARGO_TARGET_DIR=$PNPM_SCRIPT_SRC_DIR/target/tauri && cargo build -p but && cargo build -p gitbutler-git && pnpm tauri dev", |
| 13 | + "dev:desktop": "cross-env CARGO_TARGET_DIR=$PNPM_SCRIPT_SRC_DIR/target/tauri pnpm dev:desktop-with-env", |
| 14 | + "dev:desktop-with-env": "cargo build -p but && cargo build -p gitbutler-git && pnpm tauri dev", |
14 | 15 | "dev:internal-tauri": "turbo watch --filter @gitbutler/desktop dev",
|
15 | 16 | "package": "turbo run package",
|
16 | 17 | "test": "turbo run test --no-daemon",
|
|
24 | 25 | "build:test": "pnpm exec tauri build --config crates/gitbutler-tauri/tauri.conf.test.json -- --profile dev",
|
25 | 26 | "start:desktop": "pnpm --filter @gitbutler/desktop run preview",
|
26 | 27 | "check": "turbo run check --no-daemon",
|
27 |
| - "tauri": "export CARGO_TARGET_DIR=$PNPM_SCRIPT_SRC_DIR/target/tauri && tauri", |
| 28 | + "tauri": "cross-env CARGO_TARGET_DIR=$PNPM_SCRIPT_SRC_DIR/target/tauri tauri", |
28 | 29 | "lint": "turbo run //#globallint --no-daemon",
|
29 | 30 | "globallint": "prettier --check . && eslint .",
|
30 | 31 | "prettier": "prettier --check",
|
|
42 | 43 | "@types/eslint": "9.6.1",
|
43 | 44 | "@types/node": "^22.17.0",
|
44 | 45 | "@typescript-eslint/parser": "^8.39.0",
|
| 46 | + "cross-env": "^10.1.0", |
45 | 47 | "eslint": "^9.33.0",
|
46 | 48 | "eslint-config-prettier": "^10.1.8",
|
47 | 49 | "eslint-import-resolver-next": "^0.6.0",
|
|
0 commit comments