EditorConfig 0.10
Closes Homebrew/homebrew#13132. Signed-off-by: Adam Vandenberg <flangy@gmail.com>master
parent
5456319034
commit
937ba439f8
|
@ -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
|
Loading…
Reference in New Issue