git-next/justfile
Paul Campbell c92e41ee56
All checks were successful
Rust / build (push) Successful in 2m34s
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
chore(justfile): Don't directly open coverage report
2024-05-23 07:34:10 +01:00

23 lines
620 B
Makefile

install-hooks:
@echo "Installing git hooks"
cargo install cc-cli
git config core.hooksPath .git-hooks
validate-dev-branch:
git rebase -i origin/main -x 'cargo fmt --check'
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
coverage-update:
cargo tarpaulin --lib --out html
echo "Now:\n\topen tarpaulin-report.html"