Created
February 15, 2013 15:57
-
-
Save fdob/4961290 to your computer and use it in GitHub Desktop.
Apply a fix/patch after deploying & running composer.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// . . . | |
"scripts": { | |
"post-install-cmd": [ | |
// NOTE: cwd is the location of the composer.json | |
// -t/--batch (supress interactivity) | |
"patch -t -p0 < path/to/file.patch" | |
] | |
} | |
// . . . | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment