Permalink
Browse files

Add CSSTidy from Homebrew-core

  • Loading branch information...
1 parent 21bcab6 commit d545e779a5cbfd196805c288cecaf4756d088537 @adamv adamv committed Feb 26, 2012
Showing with 16 additions and 0 deletions.
  1. +16 −0 head-only/csstidy.rb
View
@@ -0,0 +1,16 @@
+require 'formula'
+
+class Csstidy < Formula
+ head 'http://csstidy.svn.sourceforge.net/svnroot/csstidy/trunk-cpp/'
+ homepage 'http://csstidy.sourceforge.net/'
+
+ depends_on 'scons' => :build
+
+ def install
+ arch = Hardware.is_64_bit? ? 'x64' : 'ia32'
+ system "scons", "-j #{ENV.make_jobs}",
+ "arch=#{arch}"
+
+ bin.install "release/csstidy/csstidy"
+ end
+end

0 comments on commit d545e77

Please sign in to comment.