https://github.com/delphiworlds/gendeployproj
A command line tool for generating a .deployproj file from a .dproj in Delphi projects
https://github.com/delphiworlds/gendeployproj
Last synced: 3 months ago
JSON representation
A command line tool for generating a .deployproj file from a .dproj in Delphi projects
- Host: GitHub
- URL: https://github.com/delphiworlds/gendeployproj
- Owner: DelphiWorlds
- License: mit
- Created: 2021-07-16T22:51:32.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-07-16T22:54:13.000Z (almost 4 years ago)
- Last Synced: 2024-05-02T04:16:27.342Z (about 1 year ago)
- Language: Pascal
- Size: 10.7 KB
- Stars: 3
- Watchers: 3
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: ReadMe.md
- License: LICENSE
Awesome Lists containing this project
README
# GenDeployProj
## Description
A command line tool for generating a `.deployproj` file from a `.dproj` in [Delphi](https://www.embarcadero.com/products/delphi) projects
**NOTE** This tool was "thrown together" and has had very little testing, so please bear that in mind. The code has been made available due to some interest in automating generation of `.deployproj` files without needing to use the Delphi IDE.
## Usage
`gendeployproj [0|1]`
e.g.: `gendeployproj C:\Projects\MyProject\MyProject.dproj 1`
`` is the .dproj file for the project
`[0|1]` is an optional flag to indicate whether or not to overwrite the .deployproj if it exists. 0 (do not overwrite) is the default. If the `.deployproj` exists and 0 is specified, gendeployproj does nothing and returns an exit code of `0`The .deployproj file is created in the same folder as the .dproj
## Exit codes
0 - Success. Note that this code is returned if the overwrite option is `0` and the `.deployproj` file exists
1 - `.dproj` file does not exist
2 - Could not read the `.dproj` file
3 - Could not find the `ProjectExtensions` or `Deployment` node in the `.dproj` (probably not a valid `.dproj`)
4 - Could not write the `.deployproj` file