You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

19 lines
531 B

#!/bin/bash
# diff production and development static folders
ALL=$1
PROD_STATIC="_public_html/static"
DEV_STATIC="project/static"
if [ "$ALL" = "--all" ]; then
EXCLUDE=""
else
EXCLUDE="-x cms -x admin -x admin_tools -x debug_toolbar -x tiny_mce -x filer -x autocomplete_light -x ckeditor
-x ckeditor_plugins -x cmsplugin_filer_folder -x djangocms_admin_style -x djangocms_text_ckeditor
-x cms.ckeditor.css -x cms.ckeditor.js"
echo "# exclude =" ${EXCLUDE}
fi
diff -q -r ${EXCLUDE} ${PROD_STATIC} ${DEV_STATIC}