fix #5, solve image not show up issue

This commit is contained in:
Changkun Ou
2018-05-06 14:35:05 +02:00
parent 3b87ccbd2b
commit cce1366a56
23 changed files with 29 additions and 22 deletions

View File

@@ -3,13 +3,15 @@ all:
node install.js
rm -rf src/modern-cpp/book
python3 filter.py
rm -rf ./src/modern-cpp/images/cover-2nd.png
cp ../assets/cover-2nd.png ./src/modern-cpp/images/cover-2nd.png
rm -rf ./src/modern-cpp/assets/cover-2nd.png
rm -rf ./src/modern-cpp/assets/figures
cp ../assets/cover-2nd.png ./src/modern-cpp/assets/cover-2nd.png
cp -r ../assets/figures ./src/modern-cpp/assets/figures
hexo generate
mv public/index.html public/modern-cpp/index.html
s:
node_modules/serve/bin/serve.js ./public
clean:
rm ./src/modern-cpp/images/cover-2nd.png
rm -rf src/modern-cpp/book
rm -rf public db.json
rm -rf ./src/modern-cpp/assets/cover-2nd.png
rm -rf ./src/modern-cpp/assets/figures
rm -rf public db.json src/modern-cpp/book