PEAR
[ class tree: PEAR ] [ index: PEAR ] [ all elements ]

Source for file Pickle-init.php

Documentation is available at Pickle-init.php

  1. <?php
  2. // quick-load, small memory footprint command configuration
  3. $implements = array(
  4.         'pickle' => array(
  5.             'summary' => 'Build PECL Package',
  6.             'function' => 'doPackage',
  7.             'shortcut' => 'pi',
  8.             'options' => array(
  9.                 'nocompress' => array(
  10.                     'shortopt' => 'Z',
  11.                     'doc' => 'Do not gzip the package file'
  12.                     ),
  13.                 'showname' => array(
  14.                     'shortopt' => 'n',
  15.                     'doc' => 'Print the name of the packaged file.',
  16.                     ),
  17.                 ),
  18.             'doc' => '[descfile] [descfile2]
  19. Creates a PECL package from its description file (usually called
  20. package.xml).  If a second packagefile is passed in, then
  21. the packager will check to make sure that one is a package.xml
  22. version 1.0, and the other is a package.xml version 2.0.  The
  23. package.xml version 1.0 will be saved as "package.xml" in the archive,
  24. and the other as "package2.xml" in the archive"
  25.  
  26. If no second file is passed in, and [descfile] is a package.xml 2.0,
  27. an automatic conversion will be made to a package.xml 1.0.  Note that
  28. only simple package.xml 2.0 will be converted.  package.xml 2.0 with:
  29.  
  30.  - dependency types other than required/optional PECL package/ext/php/pearinstaller
  31.  - more than one extsrcrelease
  32.  - extbinrelease, phprelease, or bundle release type
  33.  - dependency groups
  34.  - ignore tags in release filelist
  35.  - tasks other than replace
  36.  - custom roles
  37.  
  38. will cause pickle to fail, and output an error message.  If your package2.xml
  39. uses any of these features, you are best off using PEAR_PackageFileManager to
  40. generate both package.xml.'
  41.             ),
  42.         );
  43. ?>

Documentation generated on Mon, 11 Mar 2019 14:14:12 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.