Skip to content

Commit

Permalink
grunt shell fix
Browse files Browse the repository at this point in the history
  • Loading branch information
BenSibley committed Dec 23, 2020
1 parent c362aea commit 2fe1487
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,12 +145,12 @@ module.exports = function(grunt) {
zip: {
command: [
// delete existing copies (if they exist)
'rm -R /Users/bensibley/Documents/compete-themes/dist/apex || true',
'rm -R /Users/bensibley/Documents/compete-themes/dist/apex.zip || true',
'rm -R "/Users/bensibley/Dropbox/Compete Themes/Distribution/apex" || true',
'rm -R "/Users/bensibley/Dropbox/Compete Themes/Distribution/apex.zip" || true',
// copy plugin folder without any project/meta files
'rsync -r "/Users/bensibley/Sites/apex/wp-content/themes/apex" /Users/bensibley/Documents/compete-themes/dist/ <%= excludeFiles %>',
'rsync -r "/Users/bensibley/Sites/apex/wp-content/themes/apex" "/Users/bensibley/Dropbox/Compete Themes/Distribution/" <%= excludeFiles %>',
// open dist folder
'cd /Users/bensibley/Documents/compete-themes/dist/',
'cd "/Users/bensibley/Dropbox/Compete Themes/Distribution/"',
// zip the apex folder
'zip -r apex.zip apex'
].join('&&')
Expand Down

0 comments on commit 2fe1487

Please sign in to comment.