Ensure dir exists for copying

This commit is contained in:
wilsonge 2019-09-12 17:29:56 +01:00
parent 7381d278bd
commit 97f6d65691
No known key found for this signature in database
GPG Key ID: EF81319318FC9D04
1 changed files with 3 additions and 2 deletions

View File

@ -12,9 +12,10 @@ composer install --no-interaction --no-progress
cp jorobo.dist.ini jorobo.ini
cp RoboFile.dist.ini RoboFile.ini
# Make sure the path to the CMS is inside the apache config for docker
# Create the apache root directory then configure the RoboFile to use it for the Joomla Site
mkdir -p /tests/www
chown -R www-data /tests
sed -i -r 's!^(cmsPath\s*=\s*)(.*)!\1\/tests\/www\/\2!' RoboFile.ini
cat RoboFile.ini
# Build package
vendor/bin/robo build --dev