@@ -10,22 +10,6 @@ class Scw < Formula
1010
1111 depends_on "go" => :build
1212
13- go_resource "github.com/tools/godep" do
14- url "https://github.com/tools/godep.git" , :revision => "58d90f262c13357d3203e67a33c6f7a9382f9223"
15- end
16-
17- go_resource "github.com/kr/fs" do
18- url "https://github.com/kr/fs.git" , :revision => "2788f0dbd16903de03cb8186e5c7d97b69ad387b"
19- end
20-
21- go_resource "golang.org/x/tools" do
22- url "https://github.com/golang/tools.git" , :revision => "473fd854f8276c0b22f17fb458aa8f1a0e2cf5f5"
23- end
24-
25- go_resource "golang.org/x/crypto" do
26- url "https://github.com/golang/crypto.git" , :revision => "8b27f58b78dbd60e9a26b60b0d908ea642974b6d"
27- end
28-
2913 def install
3014 ENV [ "GOPATH" ] = buildpath
3115 ENV [ "CGO_ENABLED" ] = "0"
@@ -35,11 +19,7 @@ def install
3519 ln_s buildpath , buildpath /"src/github.com/scaleway/scaleway-cli"
3620 Language ::Go . stage_deps resources , buildpath /"src"
3721
38- cd "src/github.com/tools/godep" do
39- system "go" , "install"
40- end
41-
42- system "./bin/godep" , "go" , "build" , "-o" , "scw"
22+ system "go" , "build" , "-o" , "scw" , "."
4323 bin . install "scw"
4424
4525 bash_completion . install "contrib/completion/bash/scw"
0 commit comments