1
0
Fork 0
mirror of https://github.com/NeoCloud/NeoNetwork synced 2024-11-15 06:02:23 +08:00
NeoNetwork/scripts/homepage-update.sh

14 lines
179 B
Bash
Raw Normal View History

2020-04-21 08:49:08 +08:00
#!/bin/sh
set -xeu
2020-07-21 02:06:15 +08:00
if ! which markdown 2>&1 >/dev/null; then
2020-04-21 08:49:08 +08:00
echo "need markdown"
exit
fi
(
cat docs/header.html
markdown README.md
cat docs/footer.html
2020-07-21 02:06:15 +08:00
) >docs/index.html