c895eb9b33
release.sh: - Add --yes/-y flag (and CI=true) for non-interactive execution - Auto-resolve server.json conflict during rebase-before-push so CI's SHA256 commit no longer blocks the push - Fix major version bump (was double-assigned, now single expression) build-release.sh: - Remove cp of /CLAUDE.md (gitignored personal file — caused build failure) - Bundle all IDE setup docs (QUICKSTART, CLAUDE, CURSOR, VSCODE, WINDSURF) - Use set -euo pipefail; chmod +x binary; clean up dist/ subdir after tar build-rust.sh: - Replace Windsurf-specific install hint with generic cargo install --path . --force - Use set -euo pipefail setup.sh: - Replace "Antigravity" with "Claude Desktop" in comments and output Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
26 lines
522 B
Bash
Executable File
26 lines
522 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Build MT5-Quant release binary
|
|
# Output: target/release/mt5-quant
|
|
|
|
set -euo pipefail
|
|
|
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
PROJECT_ROOT="$(cd "${SCRIPT_DIR}/.." && pwd)"
|
|
|
|
cd "$PROJECT_ROOT"
|
|
|
|
echo "=== MT5-Quant build ==="
|
|
echo "Root: $PROJECT_ROOT"
|
|
echo ""
|
|
|
|
cargo build --release
|
|
|
|
echo ""
|
|
echo "=== Done ==="
|
|
echo ""
|
|
ls -lh "$PROJECT_ROOT/target/release/mt5-quant"
|
|
echo ""
|
|
echo "Run: ./target/release/mt5-quant --help"
|
|
echo "Install: cargo install --path . --force"
|
|
echo ""
|