dub 0.9.15
A package and build management system for the D programming language. Closes Homebrew/homebrew#20117. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
c71111ebd8
commit
1f9c96e474
1 changed files with 21 additions and 0 deletions
21
Formula/dub.rb
Normal file
21
Formula/dub.rb
Normal file
|
@ -0,0 +1,21 @@
|
|||
require 'formula'
|
||||
|
||||
class Dub < Formula
|
||||
homepage 'http://registry.vibed.org/'
|
||||
url 'https://github.com/rejectedsoftware/dub/archive/v0.9.15.tar.gz'
|
||||
sha1 '408216dae221ca19220f91f9081b2f8e0d8a5484'
|
||||
|
||||
head 'https://github.com/rejectedsoftware/dub.git', :revision => 'HEAD'
|
||||
|
||||
depends_on 'pkg-config' => :build
|
||||
depends_on 'dmd' => :build
|
||||
|
||||
def install
|
||||
system "./build.sh"
|
||||
bin.install 'bin/dub'
|
||||
end
|
||||
|
||||
test do
|
||||
system "#{bin}/dub; true"
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue