-
-
Save tkdb/6e2982463ff225ca4b7b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# https://github.com/magento-hackathon/magento-composer-installer/issues/107 | |
# ensure stats is installed | |
composer install --no-dev | |
# "[require] the new pacakge scenario" | |
composer require "fbrnc/aoe_scheduler:*" | sed -e 's/^/ /' | |
echo "" | |
# "[update] run the update | |
echo "update --no-plugins" | |
composer update --no-plugins --no-dev "magento-hackathon/magento-composer-installer" | |
echo "update" | |
composer update | |
# reset | |
echo "[reset] checkout composer.lock to shutdown the scenario" | |
(git checkout -- composer.json composer.lock && composer install --no-dev) | sed -e 's/^/ /' | |
echo "" | |
[ ${?} ] || exit; | |
echo "[clean] removing new files within magento/*" | |
git clean -f magento | sed -e 's/^/ /' | |
echo "" | |
echo "done." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment