Commit 05099ec8 authored by Aaron Wells's avatar Aaron Wells

Adding some code to clean up results from earlier builds

parent 73f34201
......@@ -68,6 +68,8 @@ $TRUSTED_EMAIL_DOMAINS = array(
'catalyst-eu.net'
);
passthru_or_die("git clean -df");
passthru_or_die("git reset --hard");
echo "\n";
echo "########## Check the patch is less than $MAXBEHIND patches behind remote branch HEAD\n";
......@@ -333,6 +335,7 @@ else {
echo "\n";
echo "########## Build & Minify CSS\n";
echo "\n";
passthru('make clean-css');
passthru_or_die(
'make',
"This patch encountered an error while attempting to build its CSS.\n\n"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment