Permalink
Browse files

Closes #443 Removing qunit tests from amo builds

  • Loading branch information...
erikvold committed Aug 5, 2011
1 parent 3673ea2 commit d782d2d205fec9cf21e622765f1102df29611bcf
Showing with 5 additions and 2 deletions.
  1. +5 −1 build.sh
  2. +0 −1 extension/content/js/aboutScriptish.js
View
@@ -38,10 +38,14 @@ fi
mv install.rdf.$$ install.rdf)
if [ "test" != "$1" ]; then
- echo "Cleaning up unwanted files ..."
find . -depth -name '*~' -exec rm -rf "{}" \;
find . -depth -name '#*' -exec rm -rf "{}" \;
find . -depth -name '.DS_Store' -exec rm "{}" \;
+
+ if [ "amo" = "$1" ]; then
+ rm -rf content/tests
+ rm -rf content/js/third-party/qunit
+ fi
fi
echo "Creating $XPI ..."
@@ -25,7 +25,6 @@ Cu.import("resource://scriptish/constants.js");
$("test").style.display = "block";
runTests();
});
- return;
}
// Show about:scriptish

0 comments on commit d782d2d

Please sign in to comment.