Permalink
Browse files

Refactor grunt/shell.js

Isolates git clean to its own alias, to reflect refactoring of
grunt/aliases.
  • Loading branch information...
bengitscode committed Jun 22, 2017
1 parent 7ed6c7d commit a19bdae98ea2e3d57ca59f6a763ace14c7b931b9
Showing with 7 additions and 3 deletions.
  1. +7 −3 grunt/shell.js
@@ -35,8 +35,12 @@ module.exports = {
command: [
'git push origin :gh-pages || echo "so not removed"',
'git subtree push --prefix dist origin gh-pages',
'git clean -x -d --force --exclude=node_modules --exclude=bower_components',
'git checkout master'
].join(' && ')
}
},
'clean-gh-pages': {
command: 'git clean -x -d --force --exclude=node_modules --exclude=bower_components'
},
'return-to-master': {
command: 'git checkout master'
},
}

0 comments on commit a19bdae

Please sign in to comment.