diff options
| author | Mike McQuaid | 2015-04-08 20:17:39 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2015-04-08 20:36:00 +0100 |
| commit | fab998a864d45ad99c205dfee8ff639e33d96cb5 (patch) | |
| tree | 883fc7da31ceb3b4c206da54426ac13add423154 /Library | |
| parent | cb519d74ff53c99a9cebd087ad788b139559faba (diff) | |
| download | homebrew-fab998a864d45ad99c205dfee8ff639e33d96cb5.tar.bz2 | |
git-lfs 0.5.0 (new formula)
Closes #38465.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/git-lfs.rb | 17 |
1 files changed, 17 insertions, 0 deletions
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 |
