431a2e3d5b
NaturalDocs 2.0.2 uses a .exe file, so adding mono as a dependency and updating the formula to account for windows EXE. Closes #31098. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
24 lines
630 B
Ruby
24 lines
630 B
Ruby
class Naturaldocs < Formula
|
|
desc "Extensible, multi-language documentation generator"
|
|
homepage "https://www.naturaldocs.org/"
|
|
url "https://downloads.sourceforge.net/project/naturaldocs/Stable%20Releases/2.0.2/Natural_Docs_2.0.2.zip"
|
|
sha256 "4a8be89d1c749fa40611193404556d408f414e03df8c397b970e045b57a54d4d"
|
|
|
|
bottle :unneeded
|
|
|
|
depends_on "mono"
|
|
|
|
def install
|
|
libexec.install Dir["*"]
|
|
(bin/"naturaldocs").write <<~EOS
|
|
#!/bin/bash
|
|
mono #{libexec}/NaturalDocs.exe "$@"
|
|
EOS
|
|
|
|
libexec.install_symlink etc/"naturaldocs" => "config"
|
|
end
|
|
|
|
test do
|
|
system "#{bin}/naturaldocs", "-h"
|
|
end
|
|
end
|