|
|
@ -18,14 +18,15 @@ all: clean complete dependent framework |
|
|
|
|
|
|
|
complete: roundcubemail-git |
|
|
|
cp -RH roundcubemail-git roundcubemail-$(VERSION) |
|
|
|
(cd roundcubemail-$(VERSION); php /tmp/composer.phar config version $(VERSION)) |
|
|
|
(cd roundcubemail-$(VERSION); php /tmp/composer.phar config platform.php $(PHP_VERSION)) |
|
|
|
(cd roundcubemail-$(VERSION); php /tmp/composer.phar require "kolab/net_ldap3:~1.1.4" --no-update --no-install) |
|
|
|
(cd roundcubemail-$(VERSION); php /tmp/composer.phar config --unset suggest.kolab/net_ldap3) |
|
|
|
(cd roundcubemail-$(VERSION); php /tmp/composer.phar config --unset require-dev) |
|
|
|
(cd roundcubemail-$(VERSION); php /tmp/composer.phar config --unset autoload-dev) |
|
|
|
(cd roundcubemail-$(VERSION); php /tmp/composer.phar config --unset repositories) |
|
|
|
(cd roundcubemail-$(VERSION); php /tmp/composer.phar update --prefer-dist --no-dev --no-interaction) |
|
|
|
(cd roundcubemail-$(VERSION); php /tmp/composer.phar config --unset platform) |
|
|
|
(cd roundcubemail-$(VERSION); php /tmp/composer.phar config version $(VERSION)) |
|
|
|
(cd roundcubemail-$(VERSION); bin/install-jsdeps.sh --force) |
|
|
|
(cd roundcubemail-$(VERSION); bin/jsshrink.sh program/js/publickey.js; bin/jsshrink.sh plugins/managesieve/codemirror/lib/codemirror.js) |
|
|
|
(cd roundcubemail-$(VERSION); rm -f jsdeps.json bin/install-jsdeps.sh *.orig; rm -rf temp/js_cache) |
|
|
@ -41,7 +42,7 @@ dependent: roundcubemail-git |
|
|
|
|
|
|
|
framework: roundcubemail-git /tmp/phpDocumentor.phar |
|
|
|
cp -r roundcubemail-git/program/lib/Roundcube roundcube-framework-$(VERSION) |
|
|
|
(cd roundcube-framework-$(VERSION); php /tmp/phpDocumentor.phar run -d . -t ./doc --title="Roundcube Framework" --defaultpackagename="Framework") |
|
|
|
(cd roundcube-framework-$(VERSION); XDEBUG_MODE=off php /tmp/phpDocumentor.phar run -d . -t ./doc --title="Roundcube Framework" --defaultpackagename="Framework") |
|
|
|
(cd roundcube-framework-$(VERSION); rm -rf .phpdoc) |
|
|
|
tar czf roundcube-framework-$(VERSION).tar.gz roundcube-framework-$(VERSION) |
|
|
|
rm -rf roundcube-framework-$(VERSION) |
|
|
@ -67,6 +68,7 @@ roundcubemail-git: buildtools |
|
|
|
(cd roundcubemail-git; find . -name '.gitignore' | xargs rm -f) |
|
|
|
(cd roundcubemail-git; find . -name '.travis.yml' | xargs rm -f) |
|
|
|
(cd roundcubemail-git; rm -rf tests plugins/*/tests .git* .tx* .ci* .editorconfig* index-test.php Dockerfile Makefile package.json package-lock.json node_modules) |
|
|
|
(cd roundcubemail-git; rm -f .eslintrc.js .php-cs-fixer.dist.php phpstan.neon.dist CODE_OF_CONDUCT.md SOCIAL_WORK_GUIDELINES.md) |
|
|
|
(cd roundcubemail-git; $(SEDI) 's/1.7-git/$(VERSION)/' program/include/iniset.php program/lib/Roundcube/bootstrap.php) |
|
|
|
(cd roundcubemail-git; $(SEDI) 's/# Unreleased/# Release $(VERSION)'/ CHANGELOG.md) |
|
|
|
|
|
|
|