#!/bin/bash
echo "构建 squirrel-main 项目..."

cd "e:\_Projects\squirrelVsis\squirrel-main"

# 检查 node_modules 是否存在
if [ ! -d "node_modules" ]; then
    echo "安装依赖..."
    npm install
fi

# 编译项目
echo "编译 TypeScript..."
npm run compile

echo "构建完成！"