notcurses/tools/blame-nick.sh
joseLuís 58c3d66c15 rust: add ncpile funcs & upd function-summary
- add functions ncpile_create, ncpile_render, ncpile_rasterize
- add new script tools/blame-nick.sh
- upd script tools/function-summary.sh and the generated data
- upd bindgen version
2020-11-26 13:31:04 +01:00

12 lines
330 B
Bash
Executable File

#!/usr/bin/env bash
#
# handy script that shows the last changes made by Nick in the rust bindings
RUST_DIR="$(git rev-parse --show-toplevel)/rust"
# …in /src & /examples
for file in $(find "$RUST_DIR/src/" "$RUST_DIR/examples" -name '*.rs'); do
git blame -fn $file 2>&1 | grep "(nick black" | grep -v "no such path";
done