dmd: make rdmd and dman callable

Closes Homebrew/homebrew#21698.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
master
Liu Bin 2013-08-06 21:50:24 +08:00 committed by Adam Vandenberg
parent 3f70e9ffe6
commit 20d60d6a0f
1 changed files with 2 additions and 0 deletions

View File

@ -28,6 +28,8 @@ class Dmd < Formula
f.puts "DFLAGS=-I#{libexec}/src/phobos -I#{libexec}/src/druntime/import -L-L#{libexec}/lib"
end
bin.write_exec_script libexec/'bin/dmd'
bin.write_exec_script libexec/'bin/rdmd'
bin.write_exec_script libexec/'bin/dman'
end
def test
system "dmd", "#{share}/d/examples/hello.d"