Files
jaystar e209fe02a4 feat: 实现微博签到小程序功能
- 实现签到主页面,包含签到按钮、连续天数、今日状态展示
- 实现签到记录页面,包含日历视图和签到历史列表
- 实现个人中心页面,包含用户信息和签到统计
- 后端实现签到、查询状态、查询历史三个接口
- 使用 Supabase 存储签到记录数据
- 采用星空主题设计,深蓝紫渐变背景 + 金色星光强调色
- 完成所有接口测试和前后端匹配验证
- 通过 ESLint 检查和编译验证
2026-03-16 11:17:17 +08:00

25 lines
678 B
Bash
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# build_weapp.sh - 通过 PID 文件精确杀掉自己上次的构建进程
export OUTPUT_ROOT=dist
PID_FILE="/tmp/coze-build_weapp.pid"
# 杀掉上次的构建进程组
if [ -f "$PID_FILE" ]; then
OLD_PID=$(cat "$PID_FILE")
if kill -0 "$OLD_PID" 2>/dev/null; then
echo "正在终止上次的构建进程组 (PID: $OLD_PID)..."
# 关键kill 负数 PID = 杀掉整个进程组
kill -9 -"$OLD_PID" 2>/dev/null
sleep 1
fi
rm -f "$PID_FILE"
fi
# 用 setsid 创建新的进程组,方便下次整组杀掉
setsid pnpm build:weapp &
echo $! > "$PID_FILE"
echo "构建已启动 (PID: $(cat $PID_FILE))"
wait $!
rm -f "$PID_FILE"