Skip to content

Instantly share code, notes, and snippets.

@rundel
Created June 2, 2022 16:26
Show Gist options
  • Save rundel/68c9cd6ea10622fd7eb958a55fec4b80 to your computer and use it in GitHub Desktop.
Save rundel/68c9cd6ea10622fd7eb958a55fec4b80 to your computer and use it in GitHub Desktop.
class Quarto < Formula
desc "Scientific and technical publishing system built on Pandoc"
homepage "https://www.quarto.org/"
version "0.9.504"
url "https://github.com/quarto-dev/quarto-cli/releases/download/v#{version}/quarto-#{version}-macos.tar.gz"
sha256 "1f219c7d82d10d561bbab573ebe8f2990a26d37817bb990a04fe9fa48c843244"
license "GPL-2.0-or-later"
def install
prefix.install Dir["*"]
end
test do
# `test do` will create, run in and delete a temporary directory.
#
# This test will fail and we won't accept that! For Homebrew/homebrew-core
# this will need to be a test that verifies the functionality of the
# software. Run the test with `brew test quarto`. Options passed
# to `brew install` such as `--HEAD` also need to be provided to `brew test`.
#
# The installed folder is not in the path, so use the entire path to any
# executables being tested: `system "#{bin}/program", "do", "something"`.
system "false"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment