Composer Plugin for updating the Site Manager Drupal tools.

dev-master 2017-03-07 23:27 UTC

This package is auto-updated.

Last update: 2024-04-16 12:45:05 UTC


README

This composer plugin provides the tools required to make a Drupal project deployable on the Site Manager Docker system, and keeps them up to date whenever composer update is run.

Requirements

You must be running Drupal 8, and implement the Drupal composer workflow.

Setup

In your Drupal project, require this repository using composer.

composer require universityofadelaide/sm-scaffold dev-master

If you do not notice the tool files download during the update part of the composer run, you may need to update composer, or add the following items to your project's composer.json:

"scripts": {
  "sm-scaffold": "UniversityOfAdelaide\\SiteManagerScaffold\\Plugin::scaffold",
  "post-update-cmd": [
    "@sm-scaffold",
  ]

Usage

Once setup, running composer update will fetch the latest version of the Site Manager utility files (i.e. RoboFileBase.php, dsh, etc).

You will need to add and commit these files to your own project repository.