chore(just): add run_signed script
Deploy docs to GitHub Pages / deploy (push) Has been cancelled
CI / toolchain (push) Has been cancelled
CI / fmt (push) Has been cancelled
CI / install-scripts (push) Has been cancelled
Install.sh / build (macos-latest) (push) Has been cancelled
Install.sh / build (ubuntu-latest) (push) Has been cancelled
Site / build-site (push) Has been cancelled
CI / crates-macos-latest (push) Has been cancelled
CI / crates-ubuntu-latest (push) Has been cancelled
CI / crates-windows-latest (push) Has been cancelled
CI / doc (push) Has been cancelled
CI / deny (push) Has been cancelled

This commit is contained in:
Christian Visintin
2026-09-01 12:42:06 +02:00
parent d99c76b43c
commit e966a83220
2 changed files with 14 additions and 0 deletions
+1
View File
@@ -2,6 +2,7 @@ import "./just/build.just"
import "./just/changelog.just"
import "./just/code_check.just"
import "./just/publish.just"
import "./just/run.just"
import "./just/site.just"
import "./just/test.just"
+13
View File
@@ -0,0 +1,13 @@
[group('run')]
run *args:
@set -m; cargo run --bin termscp -- {{ args }}
# Build, sign, and run the macOS CLI binary with a stable development identity
# Job control gives smista its own foreground process group, so Ctrl-C reaches it
# without also interrupting just.
[group('run')]
run_signed *args:
@test "$(uname -s)" = "Darwin" || (echo "run_signed is only supported on macOS." >&2; exit 1)
cargo build --bin termscp
codesign --force --sign "${TERMSCP_CODESIGN_IDENTITY:-Apple Development}" target/debug/termscp
@set -m; target/debug/termscp {{ args }}