Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Production zip fails on install #1

Open
gjdenhertog opened this issue Jan 30, 2015 · 1 comment
Open

Production zip fails on install #1

gjdenhertog opened this issue Jan 30, 2015 · 1 comment

Comments

@gjdenhertog
Copy link

Unfortunately there is a little bug in the Gruntfile resulting in the fact that the zip that gets created contains ../../ before every file (thus the files will get extracted two levels above the current folder on the wordpress server). I fixed this by changing the compress -> files array to:

files: [
{
expand: true,
cwd: '../../',
src: ['/*', '!dev/', '!production/**']
}
]

@benni3005
Copy link
Contributor

Same here. But I had to fix it with this change (based on the one from @gjdenhertog):

files: [
  { 
    expand: true,
    cwd: '../../',
    src: ['*', '!dev/', '!production/**']
  }
]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants