diff --git a/bin/prepareLocally.sh b/bin/prepareLocally.sh index 480d928d4eea6e658dab7136806dcb9fcb776bda..2fe5d5d2afe4894e9ad0e7a6b397ce363c5b9626 100755 --- a/bin/prepareLocally.sh +++ b/bin/prepareLocally.sh @@ -3,11 +3,19 @@ COMPOSER=composer.spoons.json export COMPOSER -echo "Installing DrupalSpoons plugin" +echo -e "\n\n\nInstalling DrupalSpoons plugin" composer require --dev --no-interaction lakedrops/drupal-spoons:dev-master composer/installers:^1 -echo "Preparing $COMPOSER" +echo -e "\n\n\nPreparing $COMPOSER" composer drupalspoons:prepare -echo "Configuring project for local tests" +echo -e "\n\n\nConfiguring project for local tests" composer drupalspoons:configure -echo "Installing dependencies" +echo -e "\n\n\nInstalling dependencies" composer update --dev --no-interaction + +echo -e "\n\n\n====================================================" +echo "Successfully installed DrupalSpoons for local usage!" +echo -e "\n\nUsage:" +echo " vendor/bin/spoon [script]" +echo -e "\n\nwhere [script] should be replaced by one of the" +echo "available scripts for testing." +echo "====================================================" diff --git a/src/Handler.php b/src/Handler.php index 97b1be206df3a0e6e3a68ac2014bff811620ed19..e6be6a55dc3aa0593ef8a75a7e18554869163249 100644 --- a/src/Handler.php +++ b/src/Handler.php @@ -205,8 +205,9 @@ class Handler { return <<<gitlabci include: - project: 'drupalspoons/webmasters' - ref: $version + ref: '$version' file: 'templates/.gitlab-ci.yml' + gitlabci; }