blob: ff5d965cba9f41810d817470e77c72aa10e6310e (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
 | class Carthage < Formula
  homepage "https://github.com/Carthage/Carthage"
  url "https://github.com/Carthage/Carthage.git", :tag => "0.6.4",
                                                  :revision => "fb67bc83840ca886c5b4a7fac069f08fba147431",
                                                  :shallow => false
  head "https://github.com/Carthage/Carthage.git", :shallow => false
  depends_on :xcode => ["6.1.1", :build]
  bottle do
    cellar :any
    sha256 "87c17787d448acc647be6df6f3599de1f76f8b8ae25630bb18e4f9a861b5d230" => :yosemite
    sha256 "017088d077c0d17a11e77e05fee9f4dfa6d862fadbf2aacd381bbc898c04da6a" => :mavericks
  end
  def install
    system "make", "prefix_install", "PREFIX=#{prefix}"
  end
  test do
    (testpath/"Cartfile").write 'github "jspahrsummers/xcconfigs"'
    system "#{bin}/carthage", "update"
  end
end
 |