-
Notifications
You must be signed in to change notification settings - Fork 1
build php
Renaud Guillard edited this page Jun 3, 2013
·
6 revisions
...
- Author
- Renaud Guillard
- Version
- 1.0
build-php [[-S] -x <path>] [([-bie] -m <...>) --parser-namespace <...> --program-namespace <...> -c <...>] [-o <path>] [--ns-xml-path <path> --ns-xml-path-relative] [--help]
Input
-x, --xml-description: Program description file
If the program description file is provided, the xml file will be validated
before any XSLT processing
-S, --skip-validation, --no-validation: Skip XML Schema validations
The default behavior of the program is to validate the given xml-based
file(s) against its/their xml schema (http://xsd.nore.fr/program etc.).
This option will disable schema validations
Generation options
Generation mode
Select what to generate
-b, --base: Generate ns-xml parser base classes only
-i, --info: Generate program info class
-e, --embed: Generate parser base class and program info in a single file
-m, --merge: Generate and merge with program script
Generate parser base and program info and merge the result with the given
php script
--parser-namespace, --parser-ns: PHP parser namespace
Namespace of all elements of the ns-xml PHP parser
--program-namespace, --program-ns, --prg-ns: PHP program namespace
-c, --classname: Program info class name
Output
-o, --output: Generated file path
ns-xml source path options
--ns-xml-path: ns-xml source path
Location of the ns folder of ns-xml package
--ns-xml-path-relative: ns source path is relative this program path
--help: Display program usage
Copyright © 2012 by Renaud Guillard Distributed under the terms of the MIT License, see LICENSE