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-09-11 04:17:51 +00:00
|
|
|
url "https://github.com/github/git-lfs/archive/v0.6.0.tar.gz"
|
|
|
|
sha256 "cfb270be1e480c70f0cea8eacf9828c2d7ef590532b8a88931ca58e1505183c1"
|
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
|
|
|
|
sha256 "affb43c82c8195cb1b8aee16c28cc1dd8bd833890bf7dbdf6897cc1921916b2f" => :yosemite
|
|
|
|
sha256 "5635d8e0e2ca15582f80edcff881be61ec9c864244461d4844b92801fb86e5b0" => :mavericks
|
|
|
|
sha256 "666c7d305e5540bffbd3de3c9e970f5ba48ca01f4816047e772288b99a9613a8" => :mountain_lion
|
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
|