homebrew-core/Formula/css-crush.rb

16 lines
348 B
Ruby
Raw Normal View History

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