|
394db016e9 5 months ago | |
---|---|---|
addon-sdk @ 12f7d53e8b | 6 years ago | |
apache | 4 years ago | |
common | 2 years ago | |
docs | 5 months ago | |
hooks | 7 years ago | |
image-src | 8 years ago | |
rewriter | 4 years ago | |
src | 5 months ago | |
test | 2 years ago | |
translations | 8 months ago | |
utils | 3 years ago | |
.build_exclusions | 3 years ago | |
.dockerignore | 4 years ago | |
.editorconfig | 4 years ago | |
.gitignore | 4 years ago | |
.travis.yml | 3 years ago | |
CONTRIBUTING.md | 3 years ago | |
Dockerfile | 4 years ago | |
LICENSE.txt | 3 years ago | |
Makefile | 5 years ago | |
README.md | 2 years ago | |
fetch-test.sh | 5 years ago | |
install-dev-dependencies.sh | 2 years ago | |
makexpi.sh | 1 year ago | |
requirements.txt | 2 years ago | |
rules | 6 years ago | |
ruleset-testing.md | 4 years ago | |
test.sh | 5 years ago |
Get the packages you need and install a git hook to run tests before push:
bash install-dev-dependencies.sh
Run all the tests:
bash test.sh
Run the latest code and rulesets in a standalone Firefox profile:
bash test/firefox.sh --justrun
Run the latest code and rulesets in a standalone profile for a specific version of Firefox:
FIREFOX=/path/to/firefox bash test/firefox.sh --justrun
Run the latest code and rulesets in a standalone Tor Browser profile:
bash test/tor path_to_tor_browser.tar.xz
Build the XUL extension as a .xpi package:
bash makexpi.sh
Both of the build commands store their output under pkg/.
One can run the available test suites automatically by enabling the precommit hook provided with:
ln -s ../../hooks/precommit .git/hooks/pre-commit
This is the source tree for HTTPS Always for UXP.
Important directories you might want to know about
src/ The UXP-Addon source
src/components |
src/chrome/content | JavaScript and XUL code
src/chrome/content/code |
src/chrome/content/rules The rulesets live here
test/ The tests live here
util/ Various utilities
Please refer to our contributing document to contribute to the project.