Skip to content
This repository has been archived by the owner on Dec 27, 2023. It is now read-only.

Latest commit

 

History

History
40 lines (23 loc) · 1.27 KB

development.md

File metadata and controls

40 lines (23 loc) · 1.27 KB

Setup

Prerequisites

To develop/test this add-on, you'll need:

  • Firefox version 38 or greater
  • command-line jpm tool

Firefox version 38 or greater can be found here. Or Firefox Nightly.

For jpm installation, follow the instructions as mentioned here.

Running

Once you have Firefox version 38 or greater and jpm installed, run this command in the privly-jetpack directory -

jpm run -b /path/to/firefox/executable

Linux:

jpm run -b `which firefox`

OSX:

jpm run -b /Applications/Firefox.app/Contents/MacOS/firefox-bin

You can also install the xpi file in your Firefox browser --

  • Generate the xpi file by running jpm xpi.
  • Open the Add-ons Manager(about:addons) in the browser.
  • Click on the tools icon on the top right.
  • Select "Install Add-on From File" and provide the link to the generated xpi file.

More Information

To know more about jpm commands, visit the Mozilla jpm guide.

Testing

Tests Documentation can be found here.