distribution
- Updated2022-07-12
- 1 minute(s) read
distribution
Builds a distribution(.lvdist) file.
To build a distribution from the CLI, use the following syntax:
gwebcli.exe distribution -p=<relative or absolute path of the project> --dn=<name of the .lvdist file>
For example:
gwebcli.exe distribution -p="C:\G Web Projects\Project.gwebproject" --dn="Application.lvdist"
| Argument | Required | Description | Example |
|---|---|---|---|
|
Yes | Specifies the source path. This is a path to the .gwebproject containing the .lvdist to build. |
|
|
Yes | Specifies the name of the distribution document to build. |
|
|
No | Specifies a custom output directory for the distribution. | — |
| --version=VALUE | No | Specifies the version for the distribution. The distribution build version does not automatically increment when you use this parameter. |
— |
| --addonDirectory=VALUE | No | Specifies the custom addon installation location. By default, it is set to the "Addons" directory in the .exe directory. | — |
| --autoAddDependencies | No | Specifies whether to automatically calculate and add dependencies. | — |
| --retainIntermediaryOutputDirectory=VALUE | No | Specifies whether to retain intermediary output directory upon building a package. | — |
| --save | No | Specifies whether to save the distribution when finished. The default value is False. | — |
|
No | Specifies the output type of the distribution to build. The default is the output type set in the
distribution. Supported output types: nipackage and nipackageinstaller. |
— |