dmd: make rdmd and dman callable
Closes Homebrew/homebrew#21698. Signed-off-by: Adam Vandenberg <flangy@gmail.com>master
parent
3f70e9ffe6
commit
20d60d6a0f
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue