Skip to content
This repository has been archived by the owner on Jan 20, 2020. It is now read-only.

seleznev/firefox-complete-theme-build-system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Firefox Complete Theme Build System

Scripts pack that can help you to make a Firefox theme.

How to use

Main script is make-xpi.py written on Python 3. Use it to build xpi and clean temporary files.

$ ./make-xpi.py [TARGET]

or

$ python3 make-xpi.py [TARGET]

Available targets: all, theme, extension and clean. Default is all.

Examples:

$ ./make-xpi.py
$ ./make-xpi.py all
$ ./make-xpi.py theme
$ ./make-xpi.py extension
$ ./make-xpi.py clean

Also you can specifity $VERSION environment variable or use --version to override you value in config.json.

$ ./make-xpi.py --version="0.9" all
$ VERSION="0.9" ./make-xpi.py all

For more details try --help.

$ ./make-xpi.py --help

Build environment

You need Python 2 and Python 3 in your system's $PATH. For example:

$ python2 --version
Python 2.7.8
$ python3 --version
Python 3.4.1

For override path to python2 you can use $PYTHON2PATH variable, to python3:

$ /your/path/to/python3 make-xpi.py

Copyright

Following files was created by Mozilla:

  • src/build/makeutil.py

  • src/build/preprocessor.py

  • docs/preprocessor.rst

About

Designed for Firefox GNOME

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages