2015-04-08 19:17:39 +00:00
|
|
|
class GitLfs < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Git extension for versioning large files"
|
2015-04-08 19:17:39 +00:00
|
|
|
homepage "https://github.com/github/git-lfs"
|
2015-10-01 16:46:41 +00:00
|
|
|
url "https://github.com/github/git-lfs/archive/v1.0.0.tar.gz"
|
|
|
|
sha256 "bd9d0d597b36421babf282680d34d66b626facea63f68fc64399ac9fe70d2dd3"
|
2015-04-08 19:17:39 +00:00
|
|
|
|
2015-04-08 19:35:28 +00:00
|
|
|
bottle do
|
2015-09-12 00:10:41 +00:00
|
|
|
cellar :any_skip_relocation
|
2015-10-01 16:50:55 +00:00
|
|
|
sha256 "141164e71595da8f8b6138e42b5f6050a0d7968c56c01ffa722a07b54bdfe2cf" => :el_capitan
|
|
|
|
sha256 "117c48f958a15f3aa8ab08bbaa36e850b98ac9e1baa0e00403cc5e73621a831b" => :yosemite
|
|
|
|
sha256 "69e3aee9a07da25e1e67e2b0e6f7b7a10772f9850c5a509d0740fdb36ef9edd4" => :mavericks
|
2015-04-08 19:35:28 +00:00
|
|
|
end
|
|
|
|
|
2015-04-08 19:17:39 +00:00
|
|
|
depends_on "go" => :build
|
|
|
|
|
|
|
|
def install
|
|
|
|
system "./script/bootstrap"
|
|
|
|
bin.install "bin/git-lfs"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
2015-07-03 11:10:57 +00:00
|
|
|
system "git", "init"
|
2015-04-08 19:17:39 +00:00
|
|
|
system "git", "lfs", "track", "test"
|
|
|
|
assert_match(/^test filter=lfs/, File.read(".gitattributes"))
|
|
|
|
end
|
|
|
|
end
|