From 419a03ac46af7c72ea97f0b6c33de3358d3af4ff Mon Sep 17 00:00:00 2001 From: Rui Chen Date: Sat, 16 Nov 2019 09:54:06 -0500 Subject: [PATCH] tflint 0.13.1 simplify install step Closes #46813. Signed-off-by: Rui Chen --- Formula/tflint.rb | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/Formula/tflint.rb b/Formula/tflint.rb index 6f73d87747..2a9817f41a 100644 --- a/Formula/tflint.rb +++ b/Formula/tflint.rb @@ -2,8 +2,8 @@ class Tflint < Formula desc "Linter for Terraform files" homepage "https://github.com/wata727/tflint" url "https://github.com/wata727/tflint.git", - :tag => "v0.12.1", - :revision => "98b9b63f6d1bae0838165465db8b04613760e9e6" + :tag => "v0.13.1", + :revision => "470fb17da7324f773e204ce56e5f1ded6fc9cf3c" head "https://github.com/wata727/tflint.git" bottle do @@ -16,15 +16,7 @@ class Tflint < Formula depends_on "go" => :build def install - ENV["GOPATH"] = buildpath - - dir = buildpath/"src/github.com/wata727/tflint" - dir.install buildpath.children - - cd dir do - system "go", "build", "-o", bin/"tflint" - prefix.install_metafiles - end + system "go", "build", "-o", bin/"tflint" end test do