From c94b933d6b71b20657ecc2016d8d14b576ef7a68 Mon Sep 17 00:00:00 2001 From: Matthew Grasmick Date: Wed, 27 Apr 2016 17:05:37 -0400 Subject: [PATCH] Supporting composer.json dependencies in profiles, removing make file support. --- .travis.yml | 4 ++-- INSTALL.md | 4 ++-- build/phing/build.xml | 14 +++++++------- template/build/core/phing/tasks/deploy.xml | 10 ++++++++-- template/build/core/phing/tasks/setup.xml | 11 +++++++++-- 5 files changed, 28 insertions(+), 15 deletions(-) diff --git a/.travis.yml b/.travis.yml index aa21cda6c..45585d51a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -46,8 +46,8 @@ before_script: script: # Generate a new 'bolted' project. - - ./bolt.sh bolt:configure - - ./bolt.sh bolt:create + - ./bolt.sh configure + - ./bolt.sh create # Call targets in the new 'bolted' project. - ../bolted8/bolt.sh build:validate:test -Dbehat.run-server=true -Dbehat.launch-phantom=true # Deploy build artifact. diff --git a/INSTALL.md b/INSTALL.md index 92b548e21..0decba38d 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -30,7 +30,7 @@ operating system: # Generate and modify configuration files -From the Bolt repository’s root directory, run `./bolt.sh bolt:configure`. This +From the Bolt repository’s root directory, run `./bolt.sh configure`. This will create your project-specific configuration files. After running, the following files should exist in the Bolt root directory: project.yml @@ -56,7 +56,7 @@ Bolt’s “installer” will do the following: * Replaces tokens in copied files with project-specific strings * Removes installation artifacts -Run `./bolt.sh bolt:create` to do all the things! Once it’s completed, change +Run `./bolt.sh create` to do all the things! Once it’s completed, change directories to your new project directory. E.g., cd /path/to/my/new/project. All subsequent steps will happen inside your new project. You have left the Bolt repository behind. diff --git a/build/phing/build.xml b/build/phing/build.xml index dc0ee1dd6..2cf4203b5 100644 --- a/build/phing/build.xml +++ b/build/phing/build.xml @@ -17,7 +17,7 @@ + depends="configure, create"> @@ -32,7 +32,7 @@ - + @@ -48,16 +48,16 @@ ${bolt.root}/local.settings.php ${bolt.root}/local.drushrc.php - Modify these files and then run "./bolt.sh bolt:create" to generate a new project. + Modify these files and then run "./bolt.sh create" to generate a new project. - + - Please run "./bolt.sh bolt:configure" before running "./bolt.sh bolt:create." + Please run "./bolt.sh configure" before running "./bolt.sh create." @@ -146,8 +146,8 @@ - We do not run validate:* targets, since they can be run in parallel. --> - - + + diff --git a/template/build/core/phing/tasks/deploy.xml b/template/build/core/phing/tasks/deploy.xml index 7d3a0cfc1..b8686a6df 100644 --- a/template/build/core/phing/tasks/deploy.xml +++ b/template/build/core/phing/tasks/deploy.xml @@ -78,17 +78,23 @@ + - + + + + - "${profile.dir}/drupal-org.make" "${profile.dir}" + + ${project.profile.name} contains a composer.json, ${profile.dir}/drupal-org.make will not be used. + diff --git a/template/build/core/phing/tasks/setup.xml b/template/build/core/phing/tasks/setup.xml index a309729a9..bc6826f5e 100644 --- a/template/build/core/phing/tasks/setup.xml +++ b/template/build/core/phing/tasks/setup.xml @@ -26,17 +26,24 @@ + + - + + + + - "${profile.dir}/drupal-org.make" ${profile.dir} + + ${project.profile.name} contains a composer.json, ${profile.dir}/drupal-org.make will not be used. +