|
@@ -11,7 +11,7 @@ if [[ "$1" != "" ]]; then
|
|
|
|
|
|
cd $THEME && npm run build;
|
|
|
mkdir $THEME;
|
|
|
- rsync -avz --include='theme.json' --exclude $THEME --exclude-from '../dotorg-exclude.txt' ./ $THEME
|
|
|
+ rsync -avz --exclude $THEME --exclude-from '../dotorg-exclude.txt' ./ $THEME
|
|
|
find $THEME -type f -name '*.map' -delete # for some reason rsync won't exclude map files
|
|
|
rm -rf $THEME/$THEME
|
|
|
zip -r -X $THEME.zip $THEME
|