aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/css-crush.rb
blob: 2c01c4eae7a1c4de4b1ede16bafa0c507b40c1a6 (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.10.tar.gz'
  sha1 'aa8b0f495aad298c3bf90edc271741d30271917a'

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