Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 0 additions & 48 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ on:
paths-ignore:
- "**.md"
- "docs/**"
- "demo/**"

concurrency:
group: ci-${{ github.event_name }}-${{ github.ref }}
Expand All @@ -29,7 +28,6 @@ jobs:
pull-requests: read
outputs:
code: ${{ steps.filter.outputs.code }}
demo: ${{ steps.filter.outputs.demo }}
steps:
# Only GitHub-owned actions are allowed in this repository, so filter with the gh CLI.
- name: Filter changed paths
Expand All @@ -41,16 +39,13 @@ jobs:
run: |
files=$(gh api --paginate "repos/$GITHUB_REPOSITORY/pulls/$PR_NUMBER/files" --jq '.[].filename')
code=false
demo=false
while IFS= read -r file; do
case "$file" in
demo/*) demo=true ;;
*.md | docs/* | "") ;;
*) code=true ;;
esac
done <<< "$files"
echo "code=$code" >> "$GITHUB_OUTPUT"
echo "demo=$demo" >> "$GITHUB_OUTPUT"

check:
name: Build and test
Expand All @@ -72,46 +67,3 @@ jobs:
env:
CFLAGS: -O2 -Werror
run: make all test

demo:
name: Demo checks
needs: changes
# Not a required check: the demo is video source and never ships in a release.
if: needs.changes.outputs.demo == 'true'
runs-on: ubuntu-24.04
timeout-minutes: 10
defaults:
run:
shell: bash
working-directory: demo
steps:
- name: Check out source
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false

# demo/mise.toml stays the single source of the Node version; mise-action is not
# GitHub-owned, so read the version and install it with first-party tooling.
- name: Read Node version
id: tools
run: |
set -euo pipefail
node="$(sed -n 's/^node = "\(.*\)"$/\1/p' mise.toml)"
test -n "$node"
echo "node=$node" >> "$GITHUB_OUTPUT"

- name: Set up Node
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: ${{ steps.tools.outputs.node }}
cache: npm
cache-dependency-path: demo/package-lock.json

- name: Install dependencies
run: npm ci

- name: Typecheck
run: npm run typecheck

- name: Test
run: npm test
21 changes: 1 addition & 20 deletions GLOSSARY.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ferry

ferry moves one macOS window to another Space and, by default, switches the screen to it. This
glossary fixes the words used in docs, scripts, and the demo video in both English and Chinese.
glossary fixes the words used in docs and scripts in both English and Chinese.

## Language

Expand Down Expand Up @@ -29,22 +29,3 @@ _Avoid_: jump, focus switch
One Raycast Script Command named "Ferry Window to Space N" that runs ferry with Follow for Space N.
Its name stays in English in Chinese copy, matching what Raycast shows.
_Avoid_: shortcut, extension, 快捷指令

## Demo video

**Trip**:
One window carried by the ferry boat from its Space to the Destination Space, from the keystroke
or Enter that sends it until its Landing.
Chinese: 行程.
_Avoid_: hop, move, voyage

**Arrival**:
The musical moment a Trip reaches the Destination Space, where the score rings that Space's note.
Chinese: 到达.
_Avoid_: landing, dock

**Landing**:
The moment the window comes to rest on the Destination Space, whether or not the screen shows that
Space; it may fall after the Arrival.
Chinese: 落地.
_Avoid_: arrival, unload
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ You do not need yabai installed.
ferry 3
```

https://github.com/user-attachments/assets/483781fc-7003-433a-9ea7-7cbea45ff641

- Runs once and exits, with no background service or configuration file.
- Requires no scripting addition or changes to System Integrity Protection.
- Includes Raycast Script Commands for Spaces 1 to 5.
Expand Down
2 changes: 0 additions & 2 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
ferry 3
```

https://github.com/user-attachments/assets/b46ac753-cedb-400c-b556-9e2322936171

- 运行一次就退出,没有常驻服务或配置文件。
- 不需要 scripting addition,也不需要更改系统完整性保护 SIP 的设置。
- 附带 Space 1 到 5 的 Raycast Script Commands。
Expand Down
6 changes: 0 additions & 6 deletions demo/.gitignore

This file was deleted.

60 changes: 0 additions & 60 deletions demo/README.md

This file was deleted.

2 changes: 0 additions & 2 deletions demo/mise.toml

This file was deleted.

57 changes: 0 additions & 57 deletions demo/music/BRIEF.md

This file was deleted.

12 changes: 0 additions & 12 deletions demo/music/pyproject.toml

This file was deleted.

Loading
Loading