Skip to content

Building the packages

Nicholas K. Dionysopoulos edited this page Apr 17, 2017 · 2 revisions

In order to build the installation packages of this component you will need to have the following tools:

  • A command line environment. Using Bash under Linux / Mac OS X works best. On Windows you will need to run most tools through an elevated privileges (administrator) command prompt on an NTFS filesystem due to the use of symlinks. Press WIN-X and click on "Command Prompt (Admin)" to launch an elevated command prompt.
  • A PHP CLI binary in your path
  • Command line Git executables
  • Phing installed through Composer

You will also need the following path structure inside a folder on your system

You will need to use the exact folder names specified here.

Useful Phing tasks

All of the following commands are to be run from the build subdirectory. Lines starting with $ indicate a Mac OS X / Linux / other *NIX system commands. Lines starting with > indicate Windows commands. The starting character ($ or >) MUST NOT be typed!

  1. Creating a dev release installation package

    This creates the installable ZIP packages of the component inside the MAIN/release directory.

     $ phing git
     > phing git
    

Please note that all generated files (ZIP package) are written to the release directory inside the repository's root.