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.8'
sha1 'add5879b75b293e44375b726347e4d7d90a187ed'
def install
libexec.install Dir['*']
(bin+'csscrush').write <<-EOS.undent
#!/bin/sh
php "#{libexec}/cli.php" "$@"
EOS
end
end