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.
 
 
 
 
 
 

17 lines
383 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 filebrowser -x django_extensions"
echo "# exclude =" ${EXCLUDE}
fi
diff -q -r ${EXCLUDE} ${PROD_STATIC} ${DEV_STATIC}