cradle 0.0.1

Execute child processes with ease
Documentation
ci: test build doc clippy fmt context-integration-tests forbidden-words

build:
  cargo build --all-targets --all-features

test pattern="": build
  cargo test --all -- --test-threads=1 {{ pattern }}
  rm -f 'filename with spaces' foo

test-lib-fast pattern="":
  cargo test --lib -- --test-threads=1 {{ pattern }}

context-integration-tests: build
  cargo run --features "test_executables" --bin context_integration_tests

doc:
  cargo doc --all

clippy:
  cargo clippy --all-targets --all-features

fmt:
  cargo fmt --all -- --check

forbidden-words:
  ! grep -rni \
    'dbg!\|fixme\|todo\|ignore' \
    src tests
  @echo No forbidden words found