seleznev / firefox-complete-theme-build-system

Designed for Firefox GNOME

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:Mozilla Public License 2.0


Languages

Language:Python 100.0%