Skip to content

Instantly share code, notes, and snippets.

@dahlia
Created May 15, 2021 03:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dahlia/81606996a0718f6d051c16777a148c76 to your computer and use it in GitHub Desktop.
Save dahlia/81606996a0718f6d051c16777a148c76 to your computer and use it in GitHub Desktop.
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