Skip to content

Commit

Permalink
fix build script
Browse files Browse the repository at this point in the history
  • Loading branch information
ganlvtech committed Oct 26, 2018
1 parent 7503703 commit 09eebac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build/build_github_pages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ composer install
php crawl.php
popd

mv dist/ gh-pages/
mv dist gh-pages

popd
3 changes: 2 additions & 1 deletion build/build_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ npm run build
sed -i "s/new Down52PojieCn({/& routerMode: 'history', requestType: 'jsonp' /g" dist/index.html
sed -i "s/new Down52PojieCn({/& routerMode: 'history', requestType: 'jsonp' /g" dist/.fancyindex/footer.html

cp php/ dist/ -R
cp php dist/ -R
rm dist/php/crawl.php
cp LICENSE dist/
cp README.md dist/
zip dist.zip -r dist
Expand Down

0 comments on commit 09eebac

Please sign in to comment.