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-09-17 08:27:30 +00:00
|
|
|
url "https://github.com/D-Programming-Language/dub/archive/v0.9.24.tar.gz"
|
|
|
|
sha256 "88fe9ff507d47cb74af685ad234158426219b7fdd7609de016fc6f5199def866"
|
2013-06-20 22:09:37 +00:00
|
|
|
|
2015-04-06 13:38:08 +00:00
|
|
|
bottle do
|
2015-09-21 06:47:32 +00:00
|
|
|
sha256 "bf14b900869d28bc8140731ee81d04d9ee5b456603dea51353863bd76358f49d" => :el_capitan
|
|
|
|
sha256 "5cdd5f8c6729f3acf955afbd8d383daf196318bf1d2278085a28c28af00d33ce" => :yosemite
|
|
|
|
sha256 "33db147c048a39cad51569940ff489e015a08f3d17d0c299efcce89c064a8513" => :mavericks
|
2015-04-06 13:38:08 +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
|