doan / composer-copy-file
Copy file to destination after composer install/update
1.0.0
2019-08-02 07:00 UTC
Requires
- php: >=5.4.0
This package is auto-updated.
Last update: 2024-09-29 05:29:32 UTC
README
Copy file to destination after composer install/update
Usage:
{
"name": "your-package",
"require":{
"doan/composer-copy-file": "1.*"
},
"scripts": {
"post-install-cmd": [
"Doan\\CopyFile::copy"
],
"post-update-cmd": [
"Doan\\CopyFile::copy"
]
},
"extra": {
"copy-file": {
"sourcefile.txt": "path/to/destination/sourcefile.txt"
}
}
}