File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change 3939if ! type cfx > /dev/null; then
4040 echo " Please activate the Firefox Addon SDK before running this script."
4141 echo " https://ftp.mozilla.org/pub/mozilla.org/labs/jetpack/addon-sdk-1.16.tar.gz"
42- echo " Unpack and run 'source addon-adk-1.16/ bin/activate'"
42+ echo " Unpack and run 'cd addon-adk-1.16; source bin/activate'"
4343 exit 1
4444fi
4545
@@ -49,5 +49,11 @@ if ! cfx --version | grep -q "$LATEST_SDK_VERSION"; then
4949fi
5050
5151cd $TEST_ADDON_PATH
52- echo " running tests"
53- cfx test --profiledir=" $PROFILE_DIRECTORY " --verbose
52+ # If you just want to run Firefox with the latest code:
53+ if [ " $1 " == " --justrun" ]; then
54+ echo " running firefox"
55+ firefox -profile " $PROFILE_DIRECTORY "
56+ else
57+ echo " running tests"
58+ cfx test --profiledir=" $PROFILE_DIRECTORY " --verbose
59+ fi
You can’t perform that action at this time.
0 commit comments