2
genepub.sh
Normal file → Executable file
2
genepub.sh
Normal file → Executable file
@@ -3,7 +3,7 @@ if ! which pandoc >/dev/null ;then
|
|||||||
echo "请先安装pandoc,然后再次运行"
|
echo "请先安装pandoc,然后再次运行"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
[ -f build-web-application-with-golang ] && go build
|
[ -f build-web-application-with-golang ] || go build
|
||||||
[ -d html ] || mkdir html
|
[ -d html ] || mkdir html
|
||||||
pushd html >/dev/null; cp ../*.md .
|
pushd html >/dev/null; cp ../*.md .
|
||||||
sed -i 's!https://github.com/astaxie/build-web-application-with-golang/blob/master/!!g' README.md
|
sed -i 's!https://github.com/astaxie/build-web-application-with-golang/blob/master/!!g' README.md
|
||||||
|
|||||||
Reference in New Issue
Block a user