From f6caf3dc79907ba1afaf7f9bbc8cdae31c71ca51 Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Sun, 1 Jul 2012 03:37:11 +0200 Subject: EditorConfig 0.10 Closes #13132. Signed-off-by: Adam Vandenberg --- Library/Formula/editorconfig.rb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Library/Formula/editorconfig.rb (limited to 'Library') diff --git a/Library/Formula/editorconfig.rb b/Library/Formula/editorconfig.rb new file mode 100644 index 000000000..0adfa74eb --- /dev/null +++ b/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 -- cgit v1.2.3