Merge pull request #389 from llaville/feature/jsmin

Feature - add new extension jsmin
pull/390/head
Michele Locati 2021-07-13 11:22:30 +02:00 committed by GitHub
commit f405760148
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

View File

@ -32,6 +32,7 @@ inotify 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1
interbase 5.5 5.6 7.0 7.1 7.2 7.3
intl 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1
ioncube_loader 5.5 5.6 7.0 7.1 7.2 7.3 7.4
jsmin 5.5 5.6 7.0 7.1 7.2 7.3 7.4
json_post 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1
ldap 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1
lzf 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1

View File

@ -1770,6 +1770,13 @@ installRemoteModule() {
cp "$installRemoteModule_src/$installRemoteModule_so" "$(getPHPExtensionsDir)/$installRemoteModule_module.so"
installRemoteModule_manuallyInstalled=1
;;
jsmin)
if test -z "$installRemoteModule_version"; then
if test $PHP_MAJMIN_VERSION -lt 700; then
installRemoteModule_version=2.0.1
fi
fi
;;
lzf)
if test -z "$installRemoteModule_version" || test $(compareVersions "$installRemoteModule_version" '1.5.0') -ge 0; then
# Sacrifice speed in favour of compression ratio?