/webcompat-addon

This is the development repository for the Firefox WebCompat Go Faster add-on

Primary LanguageJavaScriptMozilla Public License 2.0MPL-2.0

WebCompat Go Faster add-on

This is the development repository for the Firefox WebCompat Go Faster add-on

Build instructions

This guide assumes you've got a copy of mozilla-central checked out on your machine and you already have set up Node.js 5 or newer. The build script assumes your mozilla-central is located at ../fx-team relative to inside the root folder. If not, please set the EXPORT_MC_LOCATION environment accordingly.

Running the extension without a built and set up mozilla-central is not possible at the moment.

If this is the first time you're working with this repository, install the dependencies with npm install.

Exporting the sources to mozilla-central

  1. Run npm run jake export-mc.
  2. Find the exported files in your mozilla-central directory, ready to commit.

Run the changed extension sources

  1. Run npm run jake run-mc
  2. Test!

Building webcompat.xpi

  1. Run npm run jake export-xpi.
  2. Find the built .xpi inside the build/ directory.

Run the automated test suite

  1. Run npm run jake test
  2. Wait!

License

MPL.