mirror of https://git.dotclear.org/dev/dotclear
Switch to exclude-from for rsync and according exclusion list (which should be completed as necessary)
parent
cc7cbf5ea1
commit
eb3a1ee075
|
@ -0,0 +1,21 @@
|
|||
# Developpement specific dirs/files
|
||||
*.map
|
||||
*.rb
|
||||
sass
|
||||
scss
|
||||
.sass*
|
||||
scripts
|
||||
# CVS dirs/files
|
||||
.git*
|
||||
.hg*
|
||||
*.old
|
||||
*.bak
|
||||
*.BAK
|
||||
*.orig
|
||||
*.rej
|
||||
# Archives
|
||||
*.zip
|
||||
# Documentation
|
||||
mkdocs
|
||||
# Mac OS Specific
|
||||
.DS_Store
|
|
@ -42,7 +42,7 @@ if [ -d "$MOD_NAME" ]; then
|
|||
rm -rf ./"$MOD_NAME"
|
||||
fi
|
||||
mkdir ./"$MOD_NAME"
|
||||
rsync --exclude="$MOD_NAME" --exclude="mkdocs" --exclude="build.sh" --exclude=".git*" --exclude=".DS_Store" --exclude="*.zip" --exclude="*.map" --exclude="*.rb" --exclude="sass" --exclude="scss" --exclude=".sass*" --exclude="scripts" -a . ./"$MOD_NAME"
|
||||
rsync --exclude-from="$DIRECTORY/build-module-rsync-exclude.txt" --exclude="$MOD_NAME" -a . ./"$MOD_NAME"
|
||||
|
||||
# Pack Javascript files
|
||||
if [ -f "$MIN_JS" ]; then
|
||||
|
|
Loading…
Reference in New Issue