At the moment there is no build option.
Can the project properties be updated so that you can specify a build action, namely, what command should be ran to build.
Could you also allow for pre-build and post-build commands too.
The reason I ask is because at the moment, to package up the framework I'm working on into a phar file, I have to run the following commands from the console:
php lint.php
php build.php
php test.php
php publish.php (publishes to a location locally)
I would love to be able to specify
Pre-build commands:
php lint.php
Build command:
php build.php
Post-build commands:
php test.php
php publish.php
So that I can right-click and build my framework instead of having to:
- Right-clicking on the project
- Clicking "Open folder in FileExplorer"
- In the address bar typing cmd and hitting return
- Type each of the commands one after the other
I appreciate there is a test explorer and publish feature, both of which I'm choosing not to use as another developer I work with is using PhpStorm, and another developer I know uses a mac, and we use DevOps with build and release pipelines, so these php scripts are the next best thing.