aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/css-crush.rb
blob: a58352bf053f916d0edff8fc00ba63ad01ffe870 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
require 'formula'

class CssCrush < Formula
  homepage 'http://the-echoplex.net/csscrush'
  url 'https://github.com/peteboere/css-crush/archive/v1.11.tar.gz'
  sha1 'f67697f62c4ca3608eb1d52955496022c4af37fa'

  def install
    libexec.install Dir['*']
    (bin+'csscrush').write <<-EOS.undent
      #!/bin/sh
      php "#{libexec}/cli.php" "$@"
    EOS
  end
end