Move excludes to the top level.
This commit is contained in:
parent
96c77a2a4b
commit
592ba9424e
2 changed files with 4 additions and 4 deletions
|
@ -1,6 +1,5 @@
|
|||
seedlet/
|
||||
seedlet.zip
|
||||
dotorg-exclude.txt
|
||||
seedlet/seedlet/
|
||||
spearhead/spearhead
|
||||
inc/headstart
|
||||
node_modules
|
||||
.git
|
||||
|
@ -9,4 +8,5 @@ node_modules
|
|||
*.json
|
||||
*.map
|
||||
*wpcom*
|
||||
*.zip
|
||||
postcss.config.js
|
|
@ -3,7 +3,7 @@ find assets/sass/*.scss -type f -exec sed -i '' 's/-wpcom//g' {} \;
|
|||
find assets/sass/*.scss -type f -exec sed -i '' 's/auto-loading-homepage, //g' {} \;
|
||||
npm run build;
|
||||
mkdir seedlet;
|
||||
rsync -avz --exclude-from 'dotorg-exclude.txt' ./ seedlet
|
||||
rsync -avz --exclude-from '../dotorg-exclude.txt' ./ seedlet
|
||||
find seedlet -type f -name '*.map' -delete # for some reason rsync won't exclude map files
|
||||
zip -r -X seedlet.zip seedlet
|
||||
rm -rf seedlet
|
||||
|
|
Loading…
Reference in a new issue