whitespace-rs 1.0.1

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
get-coverage:
  #!/usr/bin/env bash
  export RUSTFLAGS="-Zinstrument-coverage"
  export LLVM_PROFILE_FILE="$(pwd)/scratch/$(whoami)-%p-%m.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/badges/flat_square.svg badges/coverage.svg

show-coverage:
  open target/debug/coverage/index.html

show-doc:
  cargo doc --open