From c29d860f3b2912446815b075db93f11d3345475d Mon Sep 17 00:00:00 2001 From: Ruben Beltran del Rio Date: Wed, 17 Jul 2024 19:06:56 +0200 Subject: Add page 1.3.2 --- Formula/page-1.3.2.rb | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Formula/page-1.3.2.rb (limited to 'Formula/page-1.3.2.rb') 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 -- cgit