-
Notifications
You must be signed in to change notification settings - Fork 35
Building
Martin Kimmerle edited this page Oct 12, 2018
·
2 revisions
In order to build the Add-on, you first need to…
- get the source code (cloning)
- install the build requirements
Then, to build the XPI, run
make
make
will do the following:
- install required Node.js packages (see
devDependencies
inpackage.json
) - build the add-on
- package the built files into
dist/requestpolicy-*.xpi
, which can be used for easy installation of RP into your web browser (e.g. Firefox).
On the first run, CLI output looks like this: (as of October 12, 2018)
npm WARN requestpolicy No repository field.
npm WARN requestpolicy No license field.
added 1310 packages from 1209 contributors and audited 2833 packages in 16.286s
touch node_modules/.timestamp_packages
/tmp/testdir/requestpolicy/node_modules/.bin/gulp xpi:nightly
[11:06:48] Using gulpfile /tmp/testdir/requestpolicy/gulpfile.js
[11:06:48] Starting 'clean:legacy:nightly'...
[11:06:48] Starting 'versionData:uniqueVersionSuffix'...
[11:06:48] Finished 'clean:legacy:nightly' after 12 ms
[11:06:48] Starting 'build:legacy:nightly:copiedFiles'...
[11:06:48] Finished 'versionData:uniqueVersionSuffix' after 35 ms
[11:06:48] Starting 'versionData:uniqueVersion'...
[11:06:48] Finished 'versionData:uniqueVersion' after 94 μs
[11:06:48] Starting 'buildData:legacy:nightly:preprocessContext'...
[11:06:48] Finished 'buildData:legacy:nightly:preprocessContext' after 8.57 ms
[11:06:48] Starting 'build:legacy:nightly:xmlTypePreprocessedFiles'...
[11:06:48] Starting 'build:legacy:nightly:jsTypePreprocessedFiles'...
[11:06:48] Starting 'build:legacy:nightly:js:main'...
[11:06:48] Starting 'build:legacy:nightly:js:embedded-we'...
[11:06:50] Finished 'build:legacy:nightly:js:embedded-we' after 1.27 s
[11:06:50] Finished 'build:legacy:nightly:xmlTypePreprocessedFiles' after 1.3 s
[11:06:51] Finished 'build:legacy:nightly:jsTypePreprocessedFiles' after 2.48 s
[11:06:52] Finished 'build:legacy:nightly:copiedFiles' after 3.17 s
[11:06:53] Finished 'build:legacy:nightly:js:main' after 4.84 s
[11:06:53] Starting 'build:legacy:nightly'...
[11:06:53] Finished 'build:legacy:nightly' after 69 μs
[11:06:53] Starting 'xpi:legacy:nightly'...
[11:06:54] Finished 'xpi:legacy:nightly' after 213 ms
[11:06:54] Starting 'xpi:nightly'...
[11:06:54] Finished 'xpi:nightly' after 12 μs
- Home
- About
- Help & Support
-
Documentation
- Quick Start
- FAQ
- benefits of using RP
- miscellaneous
- Contributing
- Development