/
git-stashd.rb
30 lines (25 loc) · 998 Bytes
/
git-stashd.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
class GitStashd < Formula
desc "Git autostashing daemon."
homepage "https://github.com/nickolasburr/git-stashd"
url "https://github.com/nickolasburr/git-stashd/archive/1.0.2.tar.gz"
sha256 "bd7f6ebb3c4ed65f7af518762bc00dd8c448d0b58bc45dcea19d3f85145c972e"
version "1.0.2"
bottle do
root_url "https://dl.bintray.com/nickolasburr/homebrew-bottles"
sha256 "4fc11134b1cb971dbc18da4b46c7f0a7838247cc983531abdd27b8098d7c6158" => :high_sierra
sha256 "4fc11134b1cb971dbc18da4b46c7f0a7838247cc983531abdd27b8098d7c6158" => :sierra
sha256 "4fc11134b1cb971dbc18da4b46c7f0a7838247cc983531abdd27b8098d7c6158" => :el_capitan
sha256 "4fc11134b1cb971dbc18da4b46c7f0a7838247cc983531abdd27b8098d7c6158" => :yosemite
end
depends_on "openssl" => :required
depends_on "cmake" => :required
def install
system "make"
bin.install "git-stashd"
man1.install "man/git-stashd.1.gz"
end
test do
system "git", "init"
system "git", "stashd", "--help"
end
end