Created
July 21, 2017 15:14
-
-
Save haniokasai/3b0f809af0b92d3c0b9bcaacbd112a0d to your computer and use it in GitHub Desktop.
ci
This file contains hidden or 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
rm -rf plugins | |
rm -rf bin | |
rm -rf CI-Test | |
rm -rf artifacts | |
wget https://gist.githubusercontent.com/haniokasai/33bb215ea7d7010b4667ee6c636d8686/raw/0f2cad37f6c01f93c614c77a131da5fe4988872a/ci.php | |
git submodule update --init | |
mkdir plugins | |
mkdir artifacts | |
wget -O PHP7.tar.gz https://dl.bintray.com/pocketmine/PocketMine/PHP_7.0.6_x86-64_Linux.tar.gz --no-check-certificate | |
tar -xf PHP7.tar.gz | |
wget -O plugins/DevTools.phar https://github.com/PocketMine/DevTools/releases/download/v1.11.0/DevTools_v1.11.0.phar | |
rm src/pocketmine/plugin/PluginManager.php | |
wget https://gist.githubusercontent.com/haniokasai/05e6dee527ff763c0ae9239f3ad8bb04/raw/5980ac2a5ed2c6d88472bb1a8f4be5b94751bf30/PluginManager.php -P src/pocketmine/plugin/ | |
wget https://raw.githubusercontent.com/iTXTech/Genisys/807ce1cc1a0215b9f3899efca0a1ad52ea959782/src/pocketmine/scheduler/CallbackTask.php -P src/pocketmine/scheduler/ | |
./bin/php7/bin/php ci.php || : | |
mv plugins/DevTools/* artifacts/Tesseract-PHP7.phar |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment