Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

terragrunt 0.13.3 #18363

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions Formula/terragrunt.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
class Terragrunt < Formula
desc "Thin wrapper for Terraform e.g. for locking state"
homepage "https://github.com/gruntwork-io/terragrunt"
url "https://github.com/gruntwork-io/terragrunt/archive/v0.13.2.tar.gz"
sha256 "408e235c4f8ea24ed227d5f254ba107be60c80ac6a2d54aad46053174b1cf0dc"
url "https://github.com/gruntwork-io/terragrunt/archive/v0.13.3.tar.gz"
sha256 "6e5f7c26054b91e0cce0de1deaa204d194bb78a73507d68b9a08b43dc217fe6a"
head "https://github.com/gruntwork-io/terragrunt.git"

bottle do
Expand All @@ -17,11 +17,18 @@ class Terragrunt < Formula
depends_on "go" => :build
depends_on "terraform"

resource "aws-sdk-go" do
url "https://github.com/aws/aws-sdk-go",
:using => :git,
:revision => "00fb2125993965df739fa3398b03bef3eb2e198f"
end

def install
ENV["GOPATH"] = buildpath
ENV["GLIDE_HOME"] = HOMEBREW_CACHE/"glide_home/#{name}"
mkdir_p buildpath/"src/github.com/gruntwork-io/"
ln_s buildpath, buildpath/"src/github.com/gruntwork-io/terragrunt"
(HOMEBREW_CACHE/"glide_home/#{name}/cache/src/https-github.com-aws-aws-sdk-go").install resource("aws-sdk-go")
system "glide", "install"
system "go", "build", "-o", bin/"terragrunt", "-ldflags", "-X main.VERSION=v#{version}"
end
Expand Down