Skip to content

Commit 4ea2860

Browse files
committed
Add ldoc_changed.sh script for updating docs
1 parent 5ced641 commit 4ea2860

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

ldoc_changed.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/sh
2+
#
3+
# Run `ldoc` against the current directory, then `git checkout` any files whose only change is the "Last updated" line
4+
5+
ldoc .
6+
git diff -G"<i style=\"float:right;\">Last updated " --numstat | awk '{if ($1==1 && $2==1) {print $3} }' | xargs git checkout

0 commit comments

Comments
 (0)