topfloor/composer-cleanup-vcs-dirs
最新稳定版本:1.1.0
Composer 安装命令:
composer require topfloor/composer-cleanup-vcs-dirs
包简介
Automatically deletes .git directories in newly installed or updated dependencies.
README 文档
README
If you're stuck needing to commit your composer dependencies, you might find you need to delete some extra .git directories after every time you install or update something with Composer.
While not a best practice, sometimes it's simply a requirement.
How to use the plugin
When required in composer.json, the plugin will automatically search for any .git directories in installed or updated dependencies and delete them immediately.
There's nothing else you need to do after requiring this plugin in your main composer.json file.
Running the command directly
You can also run the cleanup-vcs-dirs command directly in Composer.
To do so, simply run:
composer cleanup-vcs-dirs
Your entire project will be scanned, and all child .git directories under the project directory will be deleted.
统计信息
- 总下载量: 584.23k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 2
- 依赖项目数: 4
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0
- 更新时间: 2016-10-02