Last active
August 29, 2015 14:05
-
-
Save mikhailvink/77c9224a2df83e060f0b to your computer and use it in GitHub Desktop.
PhpStorm Custom Command Line Tool XML Definition for zdpack (Zend Server's deployment tool) - Make sure to change tool path in settings after pasting this XML in the editor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<framework xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="schemas/frameworkDescriptionVersion1.1.3.xsd" name="Custom_zdpack" invoke="/usr/local/zend/bin/zdpack" alias="zdpack" enabled="true" version="2"> | |
<command> | |
<name>--help</name> | |
<help><![CDATA[Displays the tool's usage.]]></help> | |
</command> | |
<command> | |
<name>create</name> | |
<help><![CDATA[Create a skeleton for new application.]]></help> | |
<params>application-name</params> | |
</command> | |
<command> | |
<name>create-library</name> | |
<help><![CDATA[Create a skeleton for new library.]]></help> | |
<params>library-name</params> | |
</command> | |
<command> | |
<name>validate</name> | |
<help><![CDATA[Validate a given Zend package descriptor against the schema file.]]></help> | |
<params>package-xml-descriptor-file</params> | |
<optionsBefore> | |
<option name="--schema" pattern="equals"> | |
<help><![CDATA[The path to the package descriptor schema used for validation]]></help> | |
</option> | |
</optionsBefore> | |
</command> | |
<command> | |
<name>pack</name> | |
<help><![CDATA[Create a package. The pack options should contain pointers to the application data directory, the package descriptor file, and the package scripts directory.]]></help> | |
<params>package-directory</params> | |
<optionsBefore> | |
<option name="--src-dir" pattern="equals"> | |
<help><![CDATA[The directory that contains the application resources (PHP sources, JavaScript, etc.). The directory's internal structure must match the necessary structure for the application to be functional.]]></help> | |
</option> | |
<option name="--scripts-dir" pattern="equals"> | |
<help><![CDATA[The directory which contains the package deployment scripts. The Deployment Tool will search this directory for the expected files (as described in section 2.2.1) and then packs them.]]></help> | |
</option> | |
<option name="--package-descriptor" pattern="equals"> | |
<help><![CDATA[The package descriptor file.]]></help> | |
</option> | |
<option name="--output-dir" pattern="equals"> | |
<help><![CDATA[[]]></help> | |
</option> | |
<option name="--lint"> | |
<help><![CDATA[Performs a PHP lint test on the deployment scripts before creating the package]]></help> | |
</option> | |
<option name="--php-exe" pattern="equals"> | |
<help><![CDATA[PHP executable to use for lint]]></help> | |
</option> | |
</optionsBefore> | |
</command> | |
<command> | |
<name>pack-library</name> | |
<help><![CDATA[Create a libray package. The pack options should contain pointers to the librarydirectory and the package descriptor file.]]></help> | |
<params>library-directory</params> | |
<optionsBefore> | |
<option name="--src-dir" pattern="equals"> | |
<help><![CDATA[The directory that contains the application resources (PHP sources, JavaScript, etc.). The directory's internal structure must match the necessary structure for the application to be functional.]]></help> | |
</option> | |
<option name="--scripts-dir" pattern="equals"> | |
<help><![CDATA[The directory which contains the package deployment scripts. The Deployment Tool will search this directory for the expected files (as described in section 2.2.1) and then packs them.]]></help> | |
</option> | |
<option name="--package-descriptor" pattern="equals"> | |
<help><![CDATA[The package descriptor file.]]></help> | |
</option> | |
<option name="--output-dir" pattern="equals"> | |
<help><![CDATA[[]]></help> | |
</option> | |
<option name="--lint"> | |
<help><![CDATA[Performs a PHP lint test on the deployment scripts before creating the package]]></help> | |
</option> | |
<option name="--php-exe" pattern="equals"> | |
<help><![CDATA[PHP executable to use for lint]]></help> | |
</option> | |
</optionsBefore> | |
</command> | |
<help><![CDATA[Zend Server: Command Line Tool for ZPK packages]]></help> | |
</framework> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment