Need to update build.xml to the following.
When our CI systems are building, they should then use ni_build
flags.
(ni_build does things like create the silverstripe-cache
folder as well)
<property name="composer.dev" value="" />
<property name="composer.source" value="--prefer-source" />
<if>
<isset property="composer_dist" />
<then>
<property name="composer.source" value="--prefer-dist" override="true" />
</then>
</if>
<if>
<!-- Non-Interactive Build, ie. For CI -->
<isset property="ni_build" />
<then>
<property name="composer.source" value="--prefer-dist --no-interaction --no-progress --no-suggest --optimize-autoloader --verbose --profile" override="true" />
</then>
</if>