Skip to content

Instantly share code, notes, and snippets.

@fdob
Created February 15, 2013 15:57

Revisions

  1. fdob created this gist Feb 15, 2013.
    11 changes: 11 additions & 0 deletions composer.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,11 @@
    {
    // . . .
    "scripts": {
    "post-install-cmd": [
    // NOTE: cwd is the location of the composer.json
    // -t/--batch (supress interactivity)
    "patch -t -p0 < path/to/file.patch"
    ]
    }
    // . . .
    }