make run # play fixture file (tests/fixtures/sound.mp3)
make test # run tests
make build # debug build
make build-release # optimized release binaryUseful direct commands:
cargo build
cargo build --release
cargo testNote:
vergenis pinned to9.0.6inCargo.lockto keep librespot-core's build script compiling. If a build fails with a vergen-lib trait mismatch aftercargo update, re-pin withcargo update -p vergen --precise 9.0.6.
make release-patch # bump patch version and release
make release-minor # bump minor version and release
make smoke-test # (optional) verify the published formula installs cleanlymake release-patch / make release-minor runs end-to-end:
- Bumps the version in
Cargo.tomland commits it - Tags
v<version>and pushes the tag - The
ReleaseGitHub Actions workflow (.github/workflows/release.yml) fires on the tag, builds anaarch64-apple-darwinbinary on amacos-14runner, and attaches it to the GitHub release make bump-formula(auto-invoked) polls the release, computes the SHA256, regenerates the Homebrew formula viascripts/render-formula.sh, and pushes the update toprogram247365/homebrew-tap
Total wall-clock time is typically 3–4 minutes (most of it the arm64 cargo build on CI).
make smoke-test then reinstalls the formula on your machine and asserts:
- the formula uses the prebuilt-binary install path (
bin.install "looper") - the tap version matches
Cargo.toml looper --helpruns successfully
If you need to recover from a partial release (e.g. CI flaked between tag push
and formula update), re-run make bump-formula directly — it is idempotent and
will wait for the asset, then push to the tap.