Skip to content

Instantly share code, notes, and snippets.

View Crovitche-1623's full-sized avatar
☁️
Cloud Shaper

Thibault G. Crovitche-1623

☁️
Cloud Shaper
View GitHub Profile
@six0h
six0h / post-update
Created February 26, 2014 17:12
Git Post-Update hook that checks for changes to composer.lock, and fires a composer install if required.
#!/usr/bin/env python
#-*- coding: utf-8 -*-
"""A post-update Git hook to execute `composer install` when composer.json changes
:Author: Cody Halovich
:Company: HootSuite Media Inc.
"""
import subprocess