From fab998a864d45ad99c205dfee8ff639e33d96cb5 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Wed, 8 Apr 2015 20:17:39 +0100 Subject: git-lfs 0.5.0 (new formula) Closes #38465. Signed-off-by: Mike McQuaid --- Library/Formula/git-lfs.rb | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Library/Formula/git-lfs.rb (limited to 'Library/Formula/git-lfs.rb') diff --git a/Library/Formula/git-lfs.rb b/Library/Formula/git-lfs.rb new file mode 100644 index 000000000..13807b5e5 --- /dev/null +++ b/Library/Formula/git-lfs.rb @@ -0,0 +1,17 @@ +class GitLfs < Formula + homepage "https://github.com/github/git-lfs" + url "https://github.com/github/git-lfs/archive/v0.5.0.tar.gz" + sha256 "70f17a594d51d1b92d2354a729f00546e9c1b2c93ff3b752e185c650c5442d06" + + depends_on "go" => :build + + def install + system "./script/bootstrap" + bin.install "bin/git-lfs" + end + + test do + system "git", "lfs", "track", "test" + assert_match(/^test filter=lfs/, File.read(".gitattributes")) + end +end -- cgit v1.2.3