We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5539ef8 commit b62aef4Copy full SHA for b62aef4
Formula/linuxkit.rb
@@ -0,0 +1,25 @@
1
+require "language/go"
2
+
3
+class Linuxkit < Formula
4
+ desc "Lightweight Linux districution tool"
5
+ homepage "https://github.com/linuxkit/linuxkit"
6
+ head "https://github.com/linuxkit/linuxkit.git"
7
8
+ depends_on "go" => :build
9
10
+ def install
11
+ mkdir_p buildpath/"src/github.com/linuxkit"
12
+ ln_s buildpath, buildpath/"src/github.com/linuxkit/linuxkit"
13
14
+ ENV["GOPATH"] = "#{buildpath}/Godeps/_workspace:#{buildpath}"
15
16
+ system "make", "local"
17
18
+ bin.install "bin/linuxkit"
19
+ end
20
21
+ test do
22
+ output = shell_output(bin/"moby version")
23
+ assert_match "moby version", output
24
25
+end
0 commit comments