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
6 changes: 5 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,5 +74,9 @@ jobs:
run: cargo clippy --workspace --all-targets --locked -- -D warnings

# Tests that need the speech model, a Claude key or a desktop are #[ignore]d and skipped.
# On macOS the test binaries load sherpa-onnx's dylibs at run time. The build script only
# copies them into target/ when it runs, which a restored cache skips, so point dyld at
# the downloaded folder. Set here rather than in GITHUB_ENV: macOS strips DYLD_* variables
# when it starts /bin/bash, but not when bash starts cargo. Linux links statically.
- name: Test
run: cargo test --workspace --locked
run: DYLD_FALLBACK_LIBRARY_PATH="$SHERPA_ONNX_LIB_DIR" cargo test --workspace --locked
7 changes: 3 additions & 4 deletions App/Signing.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,13 @@
//
// DEVELOPMENT_TEAM = ABCDE12345
//
// Or, with no Apple account, a self-signed certificate (see "Building without an Apple
// account" in the README):
// Or, with no Apple account, a self-signed certificate (see "Signing" in the README):
//
// MURMUR_SIGN_IDENTITY = Murmur Self-Signed
// DEVELOPMENT_TEAM =
//
// MURMUR_SIGN_IDENTITY rather than CODE_SIGN_IDENTITY, so scripts/release.sh can override it on
// the command line without also signing the Swift packages' targets.
// MURMUR_SIGN_IDENTITY rather than CODE_SIGN_IDENTITY, so it can be overridden on the
// xcodebuild command line without also signing the Swift packages' targets.
MURMUR_SIGN_IDENTITY = Apple Development
#include? "Signing.local.xcconfig"
CODE_SIGN_IDENTITY = $(MURMUR_SIGN_IDENTITY)
8 changes: 4 additions & 4 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Push-to-talk dictation: hold a key, speak, and cleaned-up text is pasted at the cursor. See [README.md](README.md) for the layout and [ROADMAP.md](ROADMAP.md) for what's next.

- **macOS:** the menu-bar app in `App/`, plus `MurmurCore` (macOS-only audio and speech engines) in `Core/`.
- **Linux (Hyprland/Omarchy):** `Linux/`. If you're running on Linux, start with [Linux/README.md](Linux/README.md): it has the setup steps (Swift, system packages, `Linux/scripts/install.sh`, the API key, Hyprland bindings), what has and hasn't been tested yet, and a testing checklist to work through.
- **Shared:** `Core/Sources/MurmurKit` (cleanup prompt, cleaners, Dictionary, sounds) must stay plain Foundation so it builds on both. `cd Core && swift test` runs its tests on either system.
- The cleanup prompt (`Core/Sources/MurmurKit/CleanupPrompt.swift`) drives most of the quality; check changes with the eval (`Eval/`, macOS only).
- **Murmur is the Rust workspace in `rust/`**, for macOS (the menu-bar app) and Linux (the Hyprland daemon). The crates and the interfaces between them are in [rust/CONTRACTS.md](rust/CONTRACTS.md); change it together with its callers. `cd rust && cargo test --workspace` runs the tests; CI (`.github/workflows/rust.yml`) also runs `cargo fmt --check` and `cargo clippy --workspace --all-targets -- -D warnings` on macOS and Linux.
- **Linux (Hyprland/Omarchy):** if you're running on Linux, start with [rust/linux/README.md](rust/linux/README.md): setup, system packages, `rust/linux/install.sh`, the API key, Hyprland bindings, and a testing checklist.
- **Swift, being retired:** the original macOS app (`App/`, `Core/`) and the eval (`Eval/`, macOS only) stay until the eval and the release scripts are ported. Don't add features there.
- The cleanup prompt drives most of the quality. It lives in `rust/crates/murmur-core/src/prompt.rs` and, byte for byte, in `Core/Sources/MurmurKit/CleanupPrompt.swift`; a Rust test fails if they differ, so edit both. Check changes with the eval.
2 changes: 0 additions & 2 deletions Linux/.gitignore

This file was deleted.

36 changes: 0 additions & 36 deletions Linux/Package.swift

This file was deleted.

195 changes: 0 additions & 195 deletions Linux/README.md

This file was deleted.

5 changes: 0 additions & 5 deletions Linux/Sources/CSherpaOnnx/module.modulemap

This file was deleted.

3 changes: 0 additions & 3 deletions Linux/Sources/CSherpaOnnx/shim.h

This file was deleted.

Loading
Loading