Files
ccs/scripts/dev-install.sh
T
kaitranntt 5fae92ac07 feat(glmt): add streaming with real-time thinking blocks
- reorganize bin/ into auth/, glmt/, management/, utils/
- add budget calculator and locale enforcer
- enhance test coverage with unit/integration separation
2025-11-11 15:39:00 -05:00

36 lines
715 B
Bash
Executable File

#!/bin/bash
# Auto-install CCS locally for testing changes
set -e
echo "[CCS Dev Install] Starting..."
# Get to the right directory
cd "$(dirname "$0")/.."
# Pack the npm package
echo "[CCS Dev Install] Creating package..."
npm pack
# Find the tarball
TARBALL=$(ls -t kaitranntt-ccs-*.tgz | head -1)
if [ -z "$TARBALL" ]; then
echo "[CCS Dev Install] ERROR: No tarball found"
exit 1
fi
echo "[CCS Dev Install] Found tarball: $TARBALL"
# Install globally
echo "[CCS Dev Install] Installing globally..."
npm install -g "$TARBALL"
# Clean up
echo "[CCS Dev Install] Cleaning up..."
rm "$TARBALL"
echo "[CCS Dev Install] ✓ Complete! CCS is now updated."
echo ""
echo "Test with: ccs glmt --version"