class Saxon < Formula
desc "XSLT and XQuery processor"
homepage "https://saxon.sourceforge.io"
url "https://downloads.sourceforge.net/project/saxon/Saxon-HE/9.9/SaxonHE9-9-1-4J.zip"
version "9.9.1.4"
sha256 "5c0b4ad1f81958ebe18cc40641518671c39be36f25a1a10ace73b69c1f2eb671"
bottle :unneeded
def install
libexec.install Dir["*.jar", "doc", "notices"]
bin.write_jar_script libexec/"saxon9he.jar", "saxon"
end
test do
(testpath/"test.xml").write <<~EOS
It works!
EOS end end