EditorConfig 0.10

Closes Homebrew/homebrew#13132.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
master
Sindre Sorhus 2012-07-01 03:37:11 +02:00 committed by Adam Vandenberg
parent 5456319034
commit 937ba439f8
1 changed files with 18 additions and 0 deletions

18
Formula/editorconfig.rb Normal file
View File

@ -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