2013-06-20 22:09:37 +00:00
|
|
|
class Dub < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Build tool for D projects"
|
2014-05-08 16:40:15 +00:00
|
|
|
homepage "http://code.dlang.org/about"
|
2015-07-26 21:01:09 +00:00
|
|
|
url "https://github.com/D-Programming-Language/dub/archive/v0.9.23.tar.gz"
|
|
|
|
sha256 "7ecbce89c0e48b43705d7c48003394f383556f33562c4b5d884a786cd85814d1"
|
2013-06-20 22:09:37 +00:00
|
|
|
|
2015-04-06 13:38:08 +00:00
|
|
|
bottle do
|
|
|
|
sha256 "e2613efeb8173e8f1beb2a4b1bf14baa70a4fa7781919c87be435bb1d55d8ae2" => :yosemite
|
|
|
|
sha256 "b108a54497cf52eb62d4aad877804630a26d47b59e606d300e7becb3a98be877" => :mavericks
|
|
|
|
sha256 "4afe785f25db496f8634c19211d68c7ea05778f9ed1e7e772f8aa9ac701beca1" => :mountain_lion
|
|
|
|
end
|
|
|
|
|
2015-07-26 21:01:09 +00:00
|
|
|
devel do
|
2015-08-06 16:37:42 +00:00
|
|
|
url "https://github.com/D-Programming-Language/dub/archive/v0.9.24-rc.3.tar.gz"
|
|
|
|
version "0.9.24-rc3"
|
|
|
|
sha256 "c5a0ea2d99a2321861dc2f0e5f5807b7af6bbb758fc2acea1c64c6c8e74edb5b"
|
2015-07-26 21:01:09 +00:00
|
|
|
end
|
|
|
|
|
2014-12-17 01:47:39 +00:00
|
|
|
head "https://github.com/D-Programming-Language/dub.git", :shallow => false
|
2014-05-02 15:52:34 +00:00
|
|
|
|
2014-05-08 16:40:15 +00:00
|
|
|
depends_on "pkg-config" => :build
|
2015-03-26 11:45:24 +00:00
|
|
|
depends_on "dmd" => :build
|
2013-06-20 22:09:37 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
system "./build.sh"
|
2014-05-08 16:40:15 +00:00
|
|
|
bin.install "bin/dub"
|
2013-06-20 22:09:37 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
system "#{bin}/dub; true"
|
|
|
|
end
|
|
|
|
end
|