Skip to content
This repository was archived by the owner on Apr 8, 2024. It is now read-only.

Latest commit

 

History

16 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Symlink

Composer script that symlinks files and directories.

Example usage

$ composer require pronovix/simple-symlink
      "extra": {
        "simple-symlinks": {
            ".": "build/web/modules/drupal_module"
        }
    },
     "scripts": {
        "post-install-cmd": [
            "Pronovix\\SimpleSymlink\\ScriptHandler::createSymlinks"
        ],
        "post-update-cmd": [
            "Pronovix\\SimpleSymlink\\ScriptHandler::createSymlinks"
        ]
    }

This ensures that the Composer root project is symlinked to the build/web/modules/drupal_module directory when a package is installed or updated.

About

[READ ONLY] Simple script that creates symlinks when a Composer event occurs

Topics

Resources

Stars

0 stars

Watchers

4 watching

Forks

Releases

Packages

Contributors

Languages