Skip to content

Instantly share code, notes, and snippets.

View jappievw's full-sized avatar
🏠
Working from home

Jasper van Wanrooy jappievw

🏠
Working from home
  • Rotterdam, The Netherlands
View GitHub Profile
@jappievw
jappievw / composer.rb
Created May 15, 2012 11:34
homebrew formula for composer.phar (http://packagist.org/about-composer)
require 'formula'
class Composer < Formula
head 'http://getcomposer.org/composer.phar'
homepage 'http://getcomposer.org'
def install
system "chmod a+x composer.phar"
system "mkdir -p #{prefix}/bin"
system "cp composer.phar #{prefix}/bin/composer"