WP5PACK=0
SK5PACK=0
L10NPACK=0
+REPOREPORT=0
# Display usage
display_usage()
WP5PACK=1
;;
+ # REPO REPORT PHP5
+ report)
+ echo; echo "Generating repo report module"; echo;
+ REPOREPORT=1
+ ;;
+
# ALL
all)
echo; echo "Generating all the tarballs we've got (not the directories). "; echo;
WP5PACK=1
SKPACK=1
L10NPACK=1
+ REPOREPORT=1
;;
# USAGE
## Get latest dependencies
dm_generate_vendor "$DM_SOURCEDIR"
+## if we already have a bower_compoents dir empty it.
+if [ -d "$DM_SOURCEDIR/bower_components" ]; then
+ rm -rf $DM_SOURCEDIR/bower_components/*
+fi
dm_generate_bower "$DM_SOURCEDIR"
# Before anything - regenerate DAOs
bash $P/dists/wordpress_php5.sh
fi
+if [ "$REPOREPORT" = 1 ]; then
+ echo; echo "Preparing repository report"; echo;
+ env \
+ L10NPACK="$L10NPACK" \
+ BPACK="$BPACK" \
+ D56PACK="$D56PACK" \
+ D5PACK="$D5PACK" \
+ D7DIR="$D7DIR" \
+ SKPACK="$SKPACK" \
+ J5PACK="$J5PACK" \
+ WP5PACK="$WP5PACK" \
+ bash $P/dists/repo-report.sh
+fi
+
unset DM_SOURCEDIR DM_GENFILESDIR DM_TARGETDIR DM_TMPDIR DM_PHP DM_RSYNC DM_VERSION DM_ZIP
echo;echo "DISTMAKER Done.";echo;