homebrew-core/Formula/css-crush.rb

16 lines
355 B
Ruby
Raw Normal View History

require 'formula'
class CssCrush < Formula
homepage 'http://the-echoplex.net/csscrush'
url 'https://github.com/peteboere/css-crush/tarball/v1.6'
sha1 '8c5d56de10e0a0ad358a7612642910cb42b11a9c'
def install
libexec.install Dir['*']
(bin+'csscrush').write <<-EOS.undent
#!/bin/sh
php "#{libexec}/cli.php" "$@"
EOS
end
end