Skip to main content

dev-loop-packaging

Use when you need a fresh packaged `.app` bundle, a fast build-package-relaunch loop, or a packaged runtime repro for Kaset instead of a compile-only verification.

来源信息

仓库
sozercan/kaset
最近来源活动
2026年8月30日 03:43
检测到的 SKILL.md 语言
英语
星标
2,416
分支
177

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
dev-loop-packaging
description
Use when you need a fresh packaged `.app` bundle, a fast build-package-relaunch loop, or a packaged runtime repro for Kaset instead of a compile-only verification.
metadata
{"short-description":"Package and relaunch Kaset"}
# Dev Loop Packaging Use this skill when you need a fresh `.app` bundle, a fast build-package-relaunch loop, or a packaged runtime repro instead of a compile-only check. ## Default Loop - Prefer `swift build` for the fastest compile verification. - Prefer `swift test --skip KasetUITests` for the default non-UI test pass. - Escalate to packaging only when you need a runnable app bundle, login/WebView/runtime inspection, or bundle verification. ## Common Commands ```bash swift build Scripts/build-app.sh Scripts/compile_and_run.sh Scripts/compile_and_run.sh --test Scripts/compile_and_run.sh --lint Scripts/compile_and_run.sh --wait ``` ## What The Scripts Do - `Scripts/build-app.sh` builds the app and assembles `.build/app/Kaset.app`. - `Scripts/compile_and_run.sh` kills existing Kaset processes, optionally runs tests and linting, packages a debug app by default, relaunches it, and checks that it stays running. Pass `--release` for a release build. - `Scripts/compile_and_run.sh --test` runs the SwiftPM test target before packaging; it does not invoke the separate Xcode UI-test project. - `Scripts/build-app.sh` can also build for custom architectures via `ARCHES`. ## Landmarks - `Scripts/build-app.sh` - `Scripts/compile_and_run.sh` - `.build/app/Kaset.app`
在 GitHub 查看