Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 1.07 KB

BUILD.md

File metadata and controls

24 lines (19 loc) · 1.07 KB

Build official packages

SlimerJS can run directly from source code. Go into the src/ directory and run one of slimer.* script, depending of your platform. This is a convenient way to develop SlimerJS.

However, distributed packages should be built for releases.

Call the buildpackage.sh script to build these packages. Works only on an unix system (Linux and probably MacOS), but build packages for all system. It download the xulrunner binaries and create *.tar.gz and *.zip packages.

Experimental

For Windows packages, you can build a slimerjs.exe from the python slimerjs.py script.

We're using pyinstaller. See documentation to install it After installation:

  • run pip-win and give venv pyi-env-name as command. A console is opened
  • got into the src/ directory of SlimerJS
  • then run the command line: pyinstaller -F -c -n slimerjs slimerjs.py. See options here
  • move the dist/slimerjs.exe file to src/