Add simple and useful GUI for improve your dev experience and make contributing on MODX packages more comfortable and fast:
packages on screenshot is just example, your list will be shown based on subfolders of ./_build/ directory
Just add this repo as git submodule (see docs: EN | RU ) to to your package in folder named "env" as subfolder for ./_build/ ditectory:
- URL: https://github.com/dimasites/modx-build-environment-gui
- Folder: _build/env
I recommend very simple add with git GUI fork (on screnshot) or sourcetree (or see this commit for reference to manual code additions)
And then, go to /_build/env URL on your MODX installation for using this super-multi-functional (in future i hope) GUI :)
This GUI will be useful especially if you uploading your package files into root folder of you MODX installation!
Just add this lines to end of your build.transport.php script:
$download_url = '/_build/env/index.php?getpackage='.PKG_NAME_LOWER.'-'.PKG_VERSION.'-'.PKG_RELEASE;
$modx->log(modX::LOG_LEVEL_INFO,"\n<br /><a target='_blank' href='{$download_url}'>[DOWNLOAD PACKAGE]</a><br />\n");
Its tested for MODX Revo 2.x builders!
Made for MODX RSC by @dimasites and friends
Feel free for contribute, fork, PR, issue and more!
Licensed with GPL by Dmitry Kasatkin (aka @dimasites) [email protected]