]> git.r.bdr.sh - rbdr/homebrew-apps/commitdiff
Add page 1.3.2
authorRuben Beltran del Rio <redacted>
Wed, 17 Jul 2024 17:06:56 +0000 (19:06 +0200)
committerRuben Beltran del Rio <redacted>
Wed, 17 Jul 2024 17:06:56 +0000 (19:06 +0200)
Formula/page-1.3.2.rb [new file with mode: 0644]
Formula/page.rb

diff --git a/Formula/page-1.3.2.rb b/Formula/page-1.3.2.rb
new file mode 100644 (file)
index 0000000..52df243
--- /dev/null
@@ -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
index 53c64ed2ffe5211e196798b9d7227ce9d0c1853c..52df243f5c368cb779d8a3203c0e89c9f9d4b38a 100644 (file)
@@ -1,10 +1,10 @@
 class Page < Formula
   desc "A static website generator for exactly 1 use case."
   homepage "https://r.bdr.sh/page.html"
 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"
   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
 
 
   depends_on "rust" => :build