+src
book
book.toml
custom.css
# Benchmarks
-@exec for a in $(find benchmark/results -type f -name "*.png"); do echo "![$(basename $a)]($(sed 's/benchmark\/results/assets/' <<< $a) \"${a:-4}\")"; done
+## test
+<table><tr><td align="center">
+@exec for a in $(find benchmark/results -type f -name "*.png"); do echo "<a href=:gwion:><img class=\"zoom\" src=\"./$(sed 's/benchmark\/results/assets/' <<< $a)\" width=\"352px\"></a>"; done
+</td></tr></table>
@exec git show "master:README.md" > master_readme.md
@exec sed "$(/usr/bin/cat -n master_readme.md | grep "ALL-CONTRIBUTOR" | cut -f1 | tr '\n' '\t' | sed 's/\t/,/')!d" master_readme.md
-
@exec rm master_readme.md
+sedi () {
+ sed --version >/dev/null 2>&1 && sed -i -- "$@" || sed -i "" "$@"
+}
+
run() {
mdbook serve&
+ sedi 's/^src/#src/' .gitignore
while true
do sh scripts/watch.sh
done
}
clean() {
- trap - SIGINT SIGTERM ERR; killall mdbook
+ trap - SIGINT SIGTERM ERR
+ killall mdbook
+ sedi 's/#src/src/' .gitignore
exit 1
}