git-next/justfile
Paul Campbell d42c8fb890 build(cargo): specify clippy flags in Cargo.toml
Avoids needing to pass them as parameters whenever we run cargo clippy.
2024-05-02 18:52:10 +01:00

17 lines
449 B
Makefile

install-hooks:
@echo "Installing git hooks"
git config core.hooksPath .git-hooks
validate-dev-branch:
git rebase -i origin/main -x 'cargo build'
git rebase -i origin/main -x 'cargo test'
git rebase -i origin/main -x 'cargo clippy -- -D warnings'
start-ngrok:
#!/usr/bin/env bash
# Uses NGROK_DOMAIN env var if available
if test -z ${NGROK_DOMAIN} ; then
ngrok http 8080
else
ngrok http --domain=${NGROK_DOMAIN} 8080
fi