forked from esengine/DeepSeek-Reasonix
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprod_fast_test
More file actions
executable file
·31 lines (26 loc) · 974 Bytes
/
Copy pathprod_fast_test
File metadata and controls
executable file
·31 lines (26 loc) · 974 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/usr/bin/env bash
# Fast local production-style desktop package from this checkout.
#
# This is a convenience wrapper around ./prod_test for iteration builds:
# native host architecture, no Wails clean, and no macOS DMG unless explicitly
# overridden.
set -euo pipefail
if [[ "${1:-}" == "-h" || "${1:-}" == "--help" ]]; then
cat <<'EOF'
Usage:
./prod_fast_test [platform] [version] [channel]
Examples:
./prod_fast_test
./prod_fast_test darwin/arm64
./prod_fast_test darwin/arm64 v0.0.0-fast stable
Fast defaults:
platform native host architecture; macOS uses darwin/arm64 or darwin/amd64
clean skipped by default; set DESKTOP_BUILD_CLEAN=1 to force Wails -clean
dmg skipped by default; set DESKTOP_BUILD_SKIP_DMG=0 to create it
This delegates to ./prod_test with PROD_TEST_FAST=1.
EOF
exit 0
fi
SCRIPT_DIR="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)"
export PROD_TEST_FAST="${PROD_TEST_FAST:-1}"
exec "$SCRIPT_DIR/prod_test" "$@"