Permalink
Browse files

EditorConfig 0.10

Closes #13132.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
  • Loading branch information...
1 parent 8c4ee83 commit 3b147f5efcc3084bf601a1147dad1586b21c9af8 @sindresorhus sindresorhus committed with adamv Jul 1, 2012
Showing with 18 additions and 0 deletions.
  1. +18 −0 Library/Formula/editorconfig.rb
View
18 Library/Formula/editorconfig.rb
@@ -0,0 +1,18 @@
+require 'formula'
+
+class Editorconfig < Formula
+ homepage 'http://editorconfig.org'
+ url 'https://github.com/editorconfig/editorconfig-core/tarball/v0.10.0'
+ sha1 'afae2e81cf130a0d1f9fbbcdd5e2ef5953af8bdc'
+
+ depends_on 'cmake' => :build
+
+ def install
+ system "cmake", ".", "-DCMAKE_INSTALL_PREFIX:PATH=#{prefix}"
+ system "make install"
+ end
+
+ def test
+ system "editorconfig"
+ end
+end

0 comments on commit 3b147f5

Please sign in to comment.