Skip to content

Commit

Permalink
fix: fix Makefile
Browse files Browse the repository at this point in the history
move check script into deploy.sh
  • Loading branch information
azu committed Apr 27, 2015
1 parent 2d454af commit e4ea314
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -37,7 +37,7 @@ pdf-note:
@echo "Done!"

deploy:
@./_tools/check-to-deploy.sh && @./_tools/deploy-gh-pages.sh
@./_tools/deploy-gh-pages.sh

clean:
@rm -f {OUTPUT_FILE} javascript-promise-*.pdf javascript-promise-*.xml
4 changes: 2 additions & 2 deletions _tools/deploy-gh-pages.sh
Expand Up @@ -12,12 +12,12 @@ if [ $TRAVIS_PULL_REQUEST != 'false' ]; then
fi

git checkout -B gh-pages

make html
npm run build-js-min

make pdf

${currentDir}/check-to-deploy.sh

lastCommit=$(git log --oneline | head -n 1)
echo "=COMMIT="
echo "MESSAGE :" $lastCommit
Expand Down

0 comments on commit e4ea314

Please sign in to comment.