root/freepbx/trunk/buildtools/README.directory
| Revision 12167, 2.0 kB (checked in by p_lindheimer, 1 year ago) | |
|---|---|
| |
| Line | |
|---|---|
| 1 | Build Tools: |
| 2 | |
| 3 | This directory contains tools that are used to build and package FreePBX. |
| 4 | This document will describe the tools available, what they do and how you |
| 5 | use them. |
| 6 | |
| 7 | WARNING: Some of these tools will do direct svn checkin's and should be used |
| 8 | with caution. Please review the scripts before doing a publish |
| 9 | and make sure they do no need to be updated. At this time they do |
| 10 | very little error checking and should evolve to improve over time. |
| 11 | |
| 12 | /-------------------------------------------------------------------------------------------- |
| 13 | pack_javascripts.php: |
| 14 | |
| 15 | This script is used to package the libfreebx.javascripts.js by taking |
| 16 | all the javascript libraries that are used under the common directory and |
| 17 | running them through the jsmin class included with pack_javascripts.php. |
| 18 | |
| 19 | |
| 20 | /-------------------------------------------------------------------------------------------- |
| 21 | generate-release.sh |
| 22 | |
| 23 | This script automates most of the process of generating the release tarballs and |
| 24 | associated tags to do a release. It is outlined on the wiki and the key stages |
| 25 | are listed here (from the wiki): |
| 26 | |
| 27 | * Now run the "generate-release.sh <version-number>" script which will: |
| 28 | * package and checking libfreepbx.javascripts.js if needed |
| 29 | * generate the md5 hash for the new version and commit it |
| 30 | * create a tag from the current branch |
| 31 | * svn cp the core and framework modules into ~amp_conf/htdocs/admin/modules of the tag |
| 32 | * creates and cd to /usr/src/freepbx-release directory |
| 33 | * svn exports the tag to create a normal freepbx-''<version-number>''.tar.gz |
| 34 | * uses the modlist.sh list to export all the modules and creates a freepbx-''<version-number>''-withmodules.tar.gz |
| 35 | |
| 36 | /-------------------------------------------------------------------------------------------- |
| 37 | md5-amp_conf.sh |
| 38 | |
| 39 | This script is not really used any longer as the functionality is incorporated into |
| 40 | generate-release.sh. It's purpose is to generate the md5 sum files. It does not checkin |
| 41 | files to svn. |
Note: See TracBrowser for help on using the browser.
