homebrew-core/Formula/css-crush.rb

16 lines
363 B
Ruby
Raw Normal View History

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