dev-master
9999999-dev https://github.com/ruuds/composer-remove-pathsComposer plugin for removing files after install or update
The Requires
- composer-plugin-api ^1.0
The Development Requires
by Ruud Simons
installer composer-plugin remove file
Wallogit.com
2017 © Pedro Peláez
Composer plugin for removing files after install or update
This Composer plugin allows you to remove paths (files and/or directories) while installing or updating packages, so you can remove unwanted files from your project, eg. before deploying to production., (*1)
Simply install the plugin with composer: composer require ruuds/composer-remove-paths, (*2)
For configuring the paths you need to set remove-paths within the extra of your root composer.json., (*3)
{
"extra": {
"remove-paths": [
"htdocs/robots.txt",
"htdocs/directory-to-remove"
]
}
}
Composer plugin for removing files after install or update
installer composer-plugin remove file