Something went wrong. Try again.
A minimal, opinionated scratchpad for macOS
Something went wrong. Try again.
123456789101112131415161718192021222324252627# Lists the recipes.default: @just --list
# Builds a debug binary.build: swift build
# Builds build/Junknote.app, ad hoc signed.bundle: ./bundle.sh
# Quits a running Junknote and opens the freshly bundled app.run: bundle _quit open build/Junknote.app
# Replaces /Applications/Junknote.app with the bundled app and opens it.install: bundle _quit rm -rf /Applications/Junknote.app cp -R build/Junknote.app /Applications/ open /Applications/Junknote.app
# Quits a running Junknote and waits until it is gone. Opening the app while# the old process is still exiting fails with error -600._quit: pkill -x Junknote && while pgrep -x Junknote > /dev/null; do sleep 0.1; done || true