From 3a2c6d033033394da8b324b96a3249c24fa599ae Mon Sep 17 00:00:00 2001 From: adamXbot <111877622+adamXbot@users.noreply.github.com> Date: Fri, 7 Aug 2026 11:51:13 +1000 Subject: [PATCH] chore: add justfile Co-Authored-By: Claude Fable 5 --- justfile | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 justfile diff --git a/justfile b/justfile new file mode 100644 index 0000000..1e55a1b --- /dev/null +++ b/justfile @@ -0,0 +1,29 @@ +# List available commands +default: + @just --list + +# Build every SPM target (Core, auditctlKit, auditctl, guest agent, protocol) +[group("dev")] +build: + cd privacycommand && swift build + +# Run the full SPM test suite (same as CI) +[group("dev")] +test: + cd privacycommand && swift test + +# Tag v and push it to trigger the release workflow (tag must match MARKETING_VERSION) +[group("ship")] +release version: + git tag "v{{version}}" + git push origin "v{{version}}" + +# Build, sign, notarize and package the DMG locally (needs Developer ID + notary env) +[group("ship")] +release-local: + ./scripts/release.sh + +# Remove SPM build output +[group("dev")] +clean: + rm -rf privacycommand/.build