Skip to content

Instantly share code, notes, and snippets.

@fdob
Created February 15, 2013 15:57
Show Gist options
  • Save fdob/4961290 to your computer and use it in GitHub Desktop.
Save fdob/4961290 to your computer and use it in GitHub Desktop.
Apply a fix/patch after deploying & running composer.
{
// . . .
"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