-
Notifications
You must be signed in to change notification settings - Fork 20
Build Process
Click on links for install instructions:
Because the output will contain relative paths, when building, the source code folder needs to be at the same folder level as the original build (the names don't need to match, just the folder levels). For comparison, here's the path I extracted the source code into for version 3.4.2:
/Users/ericbixby/temp/auto-sort-bookmarks-webext-3.4.2
The only difference should be the "build.date" file.
Install web-ext:
npm i -g web-ext
built: Thu Apr 21 2022 19:37:20 GMT-0700 (Pacific Daylight Time)
First, follow the instructions under the section "All Versions Setup".
Install weh:
npm i -g gulp@4.0.2
npm i -g weh@2.10.0
Override dependency with the same version used for the submitted source:
cd /usr/local/lib/node_modules/weh
cp /Users/ericbixby/temp/auto-sort-bookmarks-webext-3.4.2/weh-npm-shrinkwrap.json ./npm-shrinkwrap.json
npm i
Now build the code:
cd /Users/ericbixby/temp/auto-sort-bookmarks-webext-3.4.2
./build_ff.sh
The following script will build/generate the target Javascript code and bundle it into a .xpi file:
build_ff.sh
Wiki pages maintained by Eric Bixby