From: Ruben Beltran del Rio Date: Wed, 17 Jul 2024 17:06:56 +0000 (+0200) Subject: Add page 1.3.2 X-Git-Url: https://git.r.bdr.sh/rbdr/homebrew-apps/commitdiff_plain/c29d860f3b2912446815b075db93f11d3345475d?hp=cdfa90838481454f336639a5b5fc312d17b6c641 Add page 1.3.2 --- diff --git a/Formula/page-1.3.2.rb b/Formula/page-1.3.2.rb new file mode 100644 index 0000000..52df243 --- /dev/null +++ b/Formula/page-1.3.2.rb @@ -0,0 +1,19 @@ +class Page < Formula + desc "A static website generator for exactly 1 use case." + homepage "https://r.bdr.sh/page.html" + url "https://git.sr.ht/~rbdr/page", tag: "1.3.2" + license "AGPL-3.0-or-later" + head "https://git.sr.ht/~rbdr/page", branch: "main" + version "1.3.2" + + 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 diff --git a/Formula/page.rb b/Formula/page.rb index 53c64ed..52df243 100644 --- a/Formula/page.rb +++ b/Formula/page.rb @@ -1,10 +1,10 @@ class Page < Formula desc "A static website generator for exactly 1 use case." homepage "https://r.bdr.sh/page.html" - url "https://git.sr.ht/~rbdr/page", tag: "1.3.1" + url "https://git.sr.ht/~rbdr/page", tag: "1.3.2" license "AGPL-3.0-or-later" head "https://git.sr.ht/~rbdr/page", branch: "main" - version "1.3.1" + version "1.3.2" depends_on "rust" => :build