boilerplate 1.0.1

Minimal compile-time Rust template engine
Documentation
watch +args='test --all':
  cargo watch --clear --exec '{{args}}'

ci:
  cargo test --all
  cargo test --all --features axum
  cargo clippy --all
  cargo fmt --all -- --check

# publish current GitHub master branch
publish:
  #!/usr/bin/env bash
  set -euxo pipefail
  rm -rf tmp/release
  git clone git@github.com:casey/boilerplate.git tmp/release
  VERSION=`sed -En 's/version[[:space:]]*=[[:space:]]*"([^"]+)"/\1/p' Cargo.toml | head -1`
  cd tmp/release
  git tag -a $VERSION -m "Release $VERSION"
  git push origin $VERSION
  cargo publish
  cd ../..
  rm -rf tmp/release