Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Ockajak committed Jul 9, 2024
1 parent f4a431b commit cd3a6e6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion update-doc.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
#!/bin/bash

sed -n '/pub mod extensions;/q;p' src/lib.rs | sed 's/^\/\/\/ \?//g' >README.md.tmp
grep '^\[!' README.md >README.md.tmp
echo >>README.md.tmp
sed -n '/pub mod extensions;/q;p' src/lib.rs | sed 's/^\/\/\/ \?//g' | grep -v '# let' | grep -v '^#!' >>README.md.tmp
echo >>README.md.tmp
sed -n '/## Inspiration/,$ p' README.md >>README.md.tmp
mv -f README.md.tmp README.md

0 comments on commit cd3a6e6

Please sign in to comment.