~rbdr/homebrew-apps

c1207eaa1fc851851c89e16592e93efd282c9c54 — Ruben Beltran del Rio 4 months ago 0f79bf6
Update page to 1.3.1
2 files changed, 21 insertions(+), 2 deletions(-)

A Formula/page-1.3.1.rb
M Formula/page.rb
A Formula/page-1.3.1.rb => Formula/page-1.3.1.rb +19 -0
@@ 0,0 1,19 @@
class Page < Formula
  desc "A static website generator for exactly 1 use case."
  homepage "https://git.sr.ht/~rbdr/page"
  url "https://git.sr.ht/~rbdr/page", tag: "1.3.1"
  license "Apache-2.0"
  head "https://git.sr.ht/~rbdr/page", branch: "main"
  version "1.3.1"

  depends_on "rust" => :build

  def install
    system "cargo", "install", *std_cargo_args
  end

  test do
    (testpath/"_layout.html").write("{{ content }}")
    system "#{bin}/page"
  end
end

M Formula/page.rb => Formula/page.rb +2 -2
@@ 1,10 1,10 @@
class Page < Formula
  desc "A static website generator for exactly 1 use case."
  homepage "https://git.sr.ht/~rbdr/page"
  url "https://git.sr.ht/~rbdr/page", tag: "1.3.0"
  url "https://git.sr.ht/~rbdr/page", tag: "1.3.1"
  license "Apache-2.0"
  head "https://git.sr.ht/~rbdr/page", branch: "main"
  version "1.3.0"
  version "1.3.1"

  depends_on "rust" => :build