-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sh
executable file
·29 lines (28 loc) · 1.15 KB
/
build.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/bash
PAGES="Home FrontConf FrontTalks Other Exit"
select k in $PAGES;
do
if [ "$k" = "Home" ]; then
echo $k.md is watched..
markdown-html -w -t 'leikam.github.io' -s './css/md.css' -w ./README.md -o ./index.html
exit;
elif [ "$k" = "FrontConf" ]; then
echo $k.md is watched..
markdown-html -w -t 'FrontendConf 2015, Moscow' -s './css/md.css' -w ./review/frontendconfmsk2015/README.md -o ./review/frontendconfmsk2015/index.html
exit
elif [ "$k" = "FrontTalks" ]; then
echo $k.md is watched..
markdown-html -w -t 'Fronttalks 2015, Ekaterinburg' -s './css/md.css' -w ./review/fronttalks-ekburg-2015/README.md -o ./review/fronttalks-ekburg-2015/index.html
exit;
elif [ "$k" = "Other" ]; then
echo $k.md is watched..
markdown-html -w -t 'Other notes' -s './css/md.css' -w ./docs/JavaScriptReview.md -o ./docs/index.html
exit;
elif [ "$k" = "Exit" ];then
echo Bye.
exit
else
echo Bad choice.
exit
fi
done