wellington: use godep formula
Closes Homebrew/homebrew#45988. Signed-off-by: Xu Cheng <xucheng@me.com>
This commit is contained in:
parent
7a3d531f02
commit
049ee4287e
1 changed files with 2 additions and 9 deletions
|
@ -33,13 +33,9 @@ class Wellington < Formula
|
|||
end
|
||||
|
||||
depends_on "go" => :build
|
||||
depends_on "godep" => :build
|
||||
depends_on "pkg-config" => :build
|
||||
|
||||
go_resource "github.com/tools/godep" do
|
||||
url "https://github.com/tools/godep.git",
|
||||
:revision => "fe7138c011ae7875d4af21efe8b237f4987d8c4a"
|
||||
end
|
||||
|
||||
go_resource "github.com/kr/fs" do
|
||||
url "https://github.com/kr/fs.git",
|
||||
:revision => "2788f0dbd16903de03cb8186e5c7d97b69ad387b"
|
||||
|
@ -57,10 +53,7 @@ class Wellington < Formula
|
|||
ENV["GOPATH"] = buildpath
|
||||
Language::Go.stage_deps resources, buildpath/"src"
|
||||
|
||||
cd "src/github.com/tools/godep" do
|
||||
system "go", "install"
|
||||
end
|
||||
system "bin/godep", "restore"
|
||||
system "godep", "restore"
|
||||
|
||||
# Build libsass from source for head build
|
||||
if build.head?
|
||||
|
|
Loading…
Reference in a new issue