Skip to content

Commit f8a45b7

Browse files
committed
Added build env gui and download package link
via git submodule
1 parent 977396a commit f8a45b7

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "_build/env"]
2+
path = _build/env
3+
url = https://github.com/dimasites/modx-build-environment-gui

_build/minishop2/build.transport.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,10 @@
304304
}
305305
}
306306
$modx->log(modX::LOG_LEVEL_INFO, "\n<br />Execution time: {$totalTime}\n");
307+
308+
$download_url = '/_build/env/index.php?getpackage='.PKG_NAME_LOWER.'-'.PKG_VERSION.'-'.PKG_RELEASE;
309+
$modx->log(modX::LOG_LEVEL_INFO,"\n<br /><a target='_blank' href='{$download_url}'>[DOWNLOAD PACKAGE]</a><br />\n");
310+
307311
echo '</pre>';
308312

309313
if (!empty($_GET['download'])) {

0 commit comments

Comments
 (0)