whitespace-rs 2.1.2

Tools for fixing whitespace problems in text and source code files
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
coverage OPEN='':
  #!/usr/bin/env bash
  export RUSTFLAGS="-Zinstrument-coverage"
  export LLVM_PROFILE_FILE="$(pwd)/scratch/$(whoami)-%p-%m.profraw"
  rm scratch/*.profraw
  cargo test --tests
  grcov . -s . --binary-path ./target/debug/ -t html --branch --ignore-not-existing -o ./target/debug/coverage/ --excl-start '^//\s*\{grcov-excl-start\}' --excl-stop '^//\s*\{grcov-excl-end\}'
  cp ./target/debug/coverage/coverage.json ./coverage.json
  if [[ "{{OPEN}}" == "--open" ]]; then
    open target/debug/coverage/index.html
  fi

doc:
  cargo doc --open

release OPERATION='incrPatch':
  deno run --unstable --allow-run --allow-read --reload https://raw.githubusercontent.com/jlyonsmith/deno-scripts/main/rust-release.ts {{OPERATION}}