From 49a8eff11ea85494b6e830ad03d9c197facb05ed Mon Sep 17 00:00:00 2001 From: Dylan T Date: Thu, 11 Nov 2021 14:29:56 +0000 Subject: [PATCH] BUILDING: submodules are no longer required submodules are useful (e.g. devtools, build/php) but they are not required to build a server phar. --- BUILDING.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/BUILDING.md b/BUILDING.md index 155896a93..d6e97e05c 100644 --- a/BUILDING.md +++ b/BUILDING.md @@ -14,13 +14,12 @@ Because PocketMine-MP requires several non-standard PHP extensions and configura If you use a custom binary, you'll need to replace `composer` usages in this guide with `path/to/your/php path/to/your/composer.phar`. ## Setting up environment -1. `git clone --recursive https://github.com/pmmp/PocketMine-MP.git` +1. `git clone https://github.com/pmmp/PocketMine-MP.git` 2. `composer install` ## Checking out a different branch to build 1. `git checkout ` -2. `git submodule update --init` -3. Re-run `composer install` to synchronize dependencies. +2. Re-run `composer install` to synchronize dependencies. ## Optimizing for release builds 1. Add the flags `--no-dev --classmap-authoritative` to your `composer install` command. This will reduce build size and improve autoloading speed.