Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add CSSTidy from Homebrew-core

  • Loading branch information...
commit d545e779a5cbfd196805c288cecaf4756d088537 1 parent 21bcab6
@adamv adamv authored
Showing with 16 additions and 0 deletions.
  1. +16 −0 head-only/csstidy.rb
View
16 head-only/csstidy.rb
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.