source-to-image 1.1.4 (new formula)

Closes #8729.

Signed-off-by: Alex Dunn <dunn.alex@gmail.com>
This commit is contained in:
Philippe Hässig 2017-01-11 12:21:01 +01:00 committed by Alex Dunn
parent 0a26133a00
commit 0915980789

View file

@ -0,0 +1,20 @@
class SourceToImage < Formula
desc "Tool for building source and injecting into docker images"
homepage "https://github.com/openshift/source-to-image"
url "https://github.com/openshift/source-to-image.git",
:tag => "v1.1.4",
:revision => "870b2730357b2664598b47672a4840e3ebd31338"
head "https://github.com/openshift/source-to-image.git"
depends_on "go" => :build
def install
system "hack/build-go.sh"
bin.install "_output/local/bin/darwin/amd64/s2i"
end
test do
system "#{bin}/s2i", "create", "testimage", testpath
assert (testpath/"Dockerfile").exist?, "s2i did not create the files."
end
end