#!/bin/bash # Development build script for CutThenThink Lite set -e echo "Building CutThenThink Lite (Debug)..." # Check dependencies if ! command -v cargo &> /dev/null; then echo "Rust/Cargo is not installed" echo "Install from: https://rustup.rs/" exit 1 fi if ! command -v node &> /dev/null; then echo "Node.js is not installed" exit 1 fi echo "Installing Node dependencies..." npm ci echo "Building frontend..." npm run build echo "Building Tauri application (Debug)..." npm run tauri build --debug echo "Build complete!" echo "Output directory: src-tauri/target/debug/bundle/"