|
Revision 15505, 2.0 kB
(checked in by gomo, 4 years ago)
|
0.1.1
|
| Line | |
|---|
| 1 |
gmPackageXmlBuilderPlugin |
|---|
| 2 |
======== |
|---|
| 3 |
The gmPackageXmlBuilderPlugin is task to make package.xml for plugins, using PEAR/PackageFileManager. |
|---|
| 4 |
|
|---|
| 5 |
Installation |
|---|
| 6 |
|
|---|
| 7 |
symfony plugin:install gmPackageXmlBuilderPlugin |
|---|
| 8 |
symfony cc |
|---|
| 9 |
|
|---|
| 10 |
This task use the PEAR_PackageFileManager2. |
|---|
| 11 |
|
|---|
| 12 |
pear install PEAR_PackageFileManager |
|---|
| 13 |
|
|---|
| 14 |
And make setting file to sf_root/config/gm_package_xml_builder_plugin.yml for global setting. |
|---|
| 15 |
|
|---|
| 16 |
builder: |
|---|
| 17 |
make_backup: on |
|---|
| 18 |
pear_path: /usr/local/php/lib/php |
|---|
| 19 |
|
|---|
| 20 |
config: |
|---|
| 21 |
symfony: |
|---|
| 22 |
channel: pear.symfony-project.com |
|---|
| 23 |
min: 1.1.0 |
|---|
| 24 |
max: 1.1.6 |
|---|
| 25 |
exclude: ~ |
|---|
| 26 |
name: Name |
|---|
| 27 |
user: User name |
|---|
| 28 |
email: user@example.com |
|---|
| 29 |
|
|---|
| 30 |
license: MIT License |
|---|
| 31 |
license_uri: ~ |
|---|
| 32 |
|
|---|
| 33 |
php: {min: 5.1.0} |
|---|
| 34 |
pearinstaller: {min: 1.4.1} |
|---|
| 35 |
|
|---|
| 36 |
Local setting for each plugins is in plugins/pluginName/config/builder.yml |
|---|
| 37 |
|
|---|
| 38 |
config: |
|---|
| 39 |
summary: ****summary**** |
|---|
| 40 |
description: ****description**** |
|---|
| 41 |
|
|---|
| 42 |
dependencies: |
|---|
| 43 |
- |
|---|
| 44 |
type: require |
|---|
| 45 |
name: PEAR_PackageFileManager |
|---|
| 46 |
channel: pear.php.net |
|---|
| 47 |
min: 1.6.3 |
|---|
| 48 |
max: ~ |
|---|
| 49 |
recommended: ~ |
|---|
| 50 |
exclude: ~ |
|---|
| 51 |
providesextension: ~ |
|---|
| 52 |
nodefault: ~ |
|---|
| 53 |
- |
|---|
| 54 |
type: require |
|---|
| 55 |
name: TEST_OPTION |
|---|
| 56 |
channel: pear.php.net |
|---|
| 57 |
min: 1.0.0 |
|---|
| 58 |
max: 1.0.5 |
|---|
| 59 |
recommended: ~ |
|---|
| 60 |
exclude: ~ |
|---|
| 61 |
providesextension: ~ |
|---|
| 62 |
nodefault: ~ |
|---|
| 63 |
- |
|---|
| 64 |
type: optional |
|---|
| 65 |
name: URL_TEST |
|---|
| 66 |
uri: http://www.example.com/example.tgz |
|---|
| 67 |
providesextension: ~ |
|---|
| 68 |
nodefault: ~ |
|---|
| 69 |
|
|---|
| 70 |
usage |
|---|
| 71 |
|
|---|
| 72 |
symfony gomo:build-package-xml [--dir="..."] [--output|-o="..."] [--api-version|-A="..."] [--release-version|-R="..."] [--api-stability|-a="..."] [--release-stability|-r="..."] [--notes|-N="..."] name |
|---|
| 73 |
|
|---|
| 74 |
symfony gomo:build-package-xml -o f -A 0.1.0 -R 0.1.0 -a alpha -r alpha -N 'First release' pluginName |
|---|