Skip to content
This repository has been archived by the owner on Apr 8, 2024. It is now read-only.
/ simple-symlink Public archive

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

License

Notifications You must be signed in to change notification settings

Pronovix/simple-symlink

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Packages

No packages published

Languages