Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/php/web-rmtools
The PHP release management tools
https://github.com/php/web-rmtools
Last synced: 5 days ago
JSON representation
The PHP release management tools
- Host: GitHub
- URL: https://github.com/php/web-rmtools
- Owner: php
- Created: 2012-01-20T20:16:07.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2023-08-29T19:14:09.000Z (about 1 year ago)
- Last Synced: 2024-04-14T05:35:08.864Z (6 months ago)
- Language: PHP
- Homepage:
- Size: 757 KB
- Stars: 13
- Watchers: 9
- Forks: 22
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PHP RMTOOLS
Tools PHP release and snapshot build automation for Windows.
Since this software is no longer used for build automation on Windows,
it has been archived.# License
The PHP RMTOOLS itself is licensed under the BSD 2-Clause license. With the usage of the other tools, you accept the respective licenses.
# Overview
# Requirements
- Visual Studio
- [PHP-SDK](https://github.com/OSTC/php-sdk-binary-tools)# Usage
NOTE: All the paths in the usage exampled are on drive C: for simplicity. Locations of PHP SDK and RMTOOLS are customizable and are not bound to a firm path on the system. All the path configuration is editable in the corresponding branch ini files under `rmtools\data\config\branch`
## Preparing
- install [Git](https://git-scm.com/), alternatively - fetch the latest tags for RMTOOLS and PHP SDK
- `md c:\php-snap-build`
- `cd c:\php-snap-build`
- `git clone https://github.com/Microsoft/php-sdk-binary-tools.git php-sdk`
- `git clone https://github.com/php/web-rmtools.git rmtools`
- `md c:\php-snap-build\obj-x64`, or alternatively similar to `mklink /d obj-x64 d:\tmp-obj-x64`
- `md c:\php-snap-build\obj`, or alternatively similar to `mklink /d obj d:\tmp-obj`
- `md C:\php-snap-build\snap_master\vc14\x64`
- `md C:\php-snap-build\snap_master\vc14\x86`
- copy C:\php-snap-build\rmtools\bin\rmtools_setvars.bat-dist to C:\php-snap-build\rmtools\bin\rmtools_setvars.bat, set the appropriate values
- copy C:\php-snap-build\rmtools\data\config\credentials_ftps.php-dist to C:\php-snap-build\rmtools\data\config\credentials_ftps.php, set the appropriate values## Building
With this configuration, for example for a VC14 64-bit build
- the build dir is C:\php-snap-build\snap_master\vc14\x64
- the object dir is C:\php-snap-build\obj-x64
- the package dir is C:\php-snap-build\obj-x64
- run `c:\php-snap-build\php-sdk\phpsdk-vc14-x64.bat -t c:\php-snap-build\rmtools\bin\snapshot_task.bat --task-args " "``` is the name of one of the INI files in data\config\branch (e.g. `phpmaster`),
and `` is the name of one of the sections in that INI file (e.g. `nts-windows-vc15-x64`).
`` can also be `all`, to build all types defined in the given INI file.To make a x86 build, the corresponding starter script from the PHP SDK needs to be used.