Skip to content

Commit cf50be8

Browse files
committed
Add build-install SKILL docs
1 parent 3d68ada commit cf50be8

2 files changed

Lines changed: 30 additions & 0 deletions

File tree

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
name: build-install
3+
description: Build the macOS app bundle with cargo bundle --release and install it to /Applications. Use when the user wants to build, bundle, or install the app.
4+
disable-model-invocation: true
5+
user-invocable: true
6+
allowed-tools: Bash
7+
---
8+
9+
Build the macOS release bundle and install it to /Applications by running these steps in sequence from the repository root:
10+
11+
1. Kill any running instance: `pkill -x "Something in the Background" || true`
12+
2. Run `./scripts/bundle-macos.sh` — compiles and packages the app into `target/release/bundle/osx/Something in the Background.app`
13+
3. `cp -r "target/release/bundle/osx/Something in the Background.app" /Applications/` — installs the bundle
14+
15+
Stream the output so the user can see build progress. If `bundle-macos.sh` fails, stop and report the error without attempting the install step.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
name: build-install
3+
description: Build the macOS app bundle with cargo bundle --release and install it to /Applications. Use when the user wants to build, bundle, or install the app.
4+
disable-model-invocation: true
5+
user-invocable: true
6+
allowed-tools: Bash
7+
---
8+
9+
Build the macOS release bundle and install it to /Applications by running these steps in sequence from the repository root:
10+
11+
1. Kill any running instance: `pkill -x "Something in the Background" || true`
12+
2. Run `./scripts/bundle-macos.sh` — compiles and packages the app into `target/release/bundle/osx/Something in the Background.app`
13+
3. `cp -r "target/release/bundle/osx/Something in the Background.app" /Applications/` — installs the bundle
14+
15+
Stream the output so the user can see build progress. If `bundle-macos.sh` fails, stop and report the error without attempting the install step.

0 commit comments

Comments
 (0)