Skip to content

Instantly share code, notes, and snippets.

@dahlia
Created May 15, 2021
Embed
What would you like to do?
eclint formula for Homebrew / As according to `brew audit` its GitLab repository is not notable enough (<30 forks and <75 stars), I could not submit this to the homebrew-core upstream.
class Eclint < Formula
desc "EditorConfig linter"
homepage "https://gitlab.com/greut/eclint"
url "https://gitlab.com/greut/eclint/-/archive/v0.3.2/eclint-v0.3.2.tar.bz2"
sha256 "81d8997a329edb0f598b56326cd34d007e59bb20885bfc21beca084d3d5a2f6c"
license "MIT"
head "https://gitlab.com/greut/eclint.git"
depends_on "go" => :build
def install
system "go", "build", "-o", "eclint", "cmd/eclint/main.go"
bin.install "./eclint"
end
test do
system "#{bin}/eclint", "-h"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment