Skip to content
Draft
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
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ on:
env:
CARGO_TERM_COLOR: always
RUST_VERSION: 1.88.0
PKG_CONFIG_PATH: /usr/local/lib/pkgconfig:/opt/homebrew/lib/pkgconfig
PKG_CONFIG_ALLOW_CROSS: "1"

jobs:
build:
Expand All @@ -25,6 +27,11 @@ jobs:
override: true
components: rustfmt, clippy

- name: Install FUSE build dependencies
run: |
brew install pkgconf
brew install --cask macfuse

- name: Cache cargo registry
uses: actions/cache@v4
with:
Expand Down
14 changes: 13 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ env:
CARGO_TERM_COLOR: always
RUST_VERSION: 1.88.0
BIN_NAME: tp7
PKG_CONFIG_PATH: /usr/local/lib/pkgconfig:/opt/homebrew/lib/pkgconfig
PKG_CONFIG_ALLOW_CROSS: "1"

jobs:
verify:
Expand All @@ -25,6 +27,11 @@ jobs:
override: true
components: rustfmt, clippy

- name: Install FUSE build dependencies
run: |
brew install pkgconf
brew install --cask macfuse

- name: Cache cargo registry
uses: actions/cache@v4
with:
Expand Down Expand Up @@ -77,6 +84,11 @@ jobs:
- name: Add compilation targets
run: rustup target add aarch64-apple-darwin x86_64-apple-darwin

- name: Install FUSE build dependencies
run: |
brew install pkgconf
brew install --cask macfuse

- name: Cache cargo registry
uses: actions/cache@v4
with:
Expand Down Expand Up @@ -262,7 +274,7 @@ jobs:
if git status --porcelain | grep .; then
git config user.name "tp7-bot"
git config user.email "tp7-bot@users.noreply.github.com"
git add Formula/tp7.rb
git add -A
git commit -m "chore: release tp7 v${VERSION}"
git push origin HEAD:main
else
Expand Down
4 changes: 4 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
- `cargo clippy -- -D warnings`
- `cargo test`
- at least one relevant `cargo run -- ...` command against the current feature.
- Finder mounting is part of the default binary. On macOS, the default Rust
build requires macFUSE or Fuse-T development metadata (`fuse.pc`). If that is
unavailable, report the blocker and use `--features fuser/macos-no-mount`
only as a compile-only fallback; it does not validate real mounting.
- When the TP-7 is connected and write-path behavior changes, prefer
`scripts/hardware-smoke.sh` for the device smoke. It uses `/memo` by default;
override with `TP7_SMOKE_REMOTE_DIR=/existing/folder` if needed.
Expand Down
2 changes: 2 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ Thanks for considering a contribution. `tp7` is a small hardware-facing CLI, so
- Read the top-level `README.md` for user-facing behavior and install instructions.
- Review `docs/spec.md` and `docs/tp7-handshake.md` before changing protocol behavior.
- Use the pinned Rust toolchain from `rust-toolchain.toml`.
- Install macFUSE or Fuse-T development metadata before building the default
macOS target, because Finder mounting is part of the normal binary.

## Development Workflow

Expand Down
Loading
Loading