From 1920b7bf522e39d8f22541319ae0470c922caef5 Mon Sep 17 00:00:00 2001 From: Alberto Grespan Date: Tue, 22 Dec 2015 19:48:01 -0430 Subject: [PATCH] nomad 0.2.3 Closes Homebrew/homebrew#47281. Signed-off-by: Dominyk Tiller --- Formula/nomad.rb | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Formula/nomad.rb b/Formula/nomad.rb index 33f00d4608..329f9e4c0c 100644 --- a/Formula/nomad.rb +++ b/Formula/nomad.rb @@ -4,8 +4,8 @@ class Nomad < Formula desc "Distributed, Highly Available, Datacenter-Aware Scheduler" homepage "https://www.nomadproject.io" url "https://github.com/hashicorp/nomad.git", - :tag => "v0.1.0", - :revision => "520763c0715ee88b6571db840e62fab186d7fe59" + :tag => "v0.2.3", + :revision => "2977583c78e622ab257ed323ec1bc6cd8b8120dd" head "https://github.com/hashicorp/nomad.git" @@ -41,7 +41,8 @@ class Nomad < Formula end cd gopath/"src/github.com/hashicorp/nomad" do - system "make" + system "make", "bootstrap" + system "make", "dev" bin.install "bin/nomad" end end @@ -51,7 +52,7 @@ class Nomad < Formula pid = fork do exec "#{bin}/nomad", "agent", "-dev" end - sleep 5 + sleep 10 ENV.append "NOMAD_ADDR", "http://127.0.0.1:4646" system "#{bin}/nomad", "node-status" ensure