Skip to content

cherryhill/isle-st-composer-scaffold

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

5 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ’ Cherry Hill ISLE Site Template Composer Scaffold

Use this project to keep Cherry Hill scaffolding up to date in ISLE Site Template projects.

First, run the setup script:

curl -fsSL https://raw.githubusercontent.com/cherryhill/isle-st-composer-scaffold/main/setup | bash

This will create a ./drupal/rootfs/var/www/drupal/assets/scripts directory and a symlink ./scripts to it. It will also add the scaffold project to the repositories list and add a post-update-cmd to scripts list.

{
    "repositories": [
        {
            "type": "github",
            "url": "https://github.com/cherryhill/isle-st-composer-scaffold"
        }
    ]
}
{
    "scripts": {
        "post-update-cmd": "./vendor/cherryhill/isle-st-composer-scaffold/assemble"
    }
}

Then, require the project:

docker compose exec -T drupal-dev with-contenv bash -lc 'composer require cherryhill/isle-st-composer-scaffold'

Now, when composer update is run our scaffold files will be moved into place:

docker compose exec -T drupal-dev with-contenv bash -lc 'composer update cherryhill/isle-st-composer-scaffold'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages