Break up shell:web task.

This commit is contained in:
ccd0 2015-03-05 21:35:44 -08:00
parent 55d82581c3
commit 21b5418e83

View File

@ -164,10 +164,11 @@ module.exports = (grunt) ->
git commit -am "Move <%= pkg.meta.name %> v<%= pkg.meta.version %> to stable channel."
git checkout -
""".split('\n').join('&&')
'commit-web':
command: 'git commit -am "Build web page."'
web:
command: """
git fetch --tags
git commit -am "Build web page."
git checkout gh-pages
git pull
git merge --no-commit -s ours -
@ -370,6 +371,7 @@ module.exports = (grunt) ->
grunt.registerTask 'web', [
'markdown:web'
'copy:web'
'shell:commit-web'
'shell:web'
]