Skip to content
Snippets Groups Projects
Commit a0b66564 authored by jurgenhaas's avatar jurgenhaas
Browse files

Improve script output and some help text

Add quotes and empty line to .gitlab-ci.yml
parent fe52052a
No related branches found
No related tags found
No related merge requests found
......@@ -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 "===================================================="
......@@ -205,8 +205,9 @@ class Handler {
return <<<gitlabci
include:
- project: 'drupalspoons/webmasters'
ref: $version
ref: '$version'
file: 'templates/.gitlab-ci.yml'
gitlabci;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment