Refactor scripts to enable pre-existing ext-phalcon

This commit is contained in:
Shivam Mathur
2020-01-21 17:58:09 +05:30
parent 898b6fa1f9
commit 63c4aea452
6 changed files with 153 additions and 34 deletions

View File

@ -128,6 +128,15 @@ export async function addExtensionLinux(
version +
pipe;
break;
case /^7\.[0-3]phalcon3$|^7\.[2-4]phalcon4$/.test(version_extension):
script +=
'\nsh ' +
path.join(__dirname, '../src/scripts/ext/phalcon.sh') +
' ' +
extension +
' ' +
version;
return;
// match 7.0xdebug..7.4xdebug
case /^7\.[0-4]xdebug$/.test(version_extension):
script +=