diff options
| author | Ruben Beltran del Rio <git@r.bdr.sh> | 2024-07-17 19:06:56 +0200 |
|---|---|---|
| committer | Ruben Beltran del Rio <git@r.bdr.sh> | 2024-07-17 19:06:56 +0200 |
| commit | c29d860f3b2912446815b075db93f11d3345475d (patch) | |
| tree | 556ea75f3370b476b8b744c55db6168051741150 /Formula | |
| parent | cdfa90838481454f336639a5b5fc312d17b6c641 (diff) | |
Add page 1.3.2
Diffstat (limited to 'Formula')
| -rw-r--r-- | Formula/page-1.3.2.rb | 19 | ||||
| -rw-r--r-- | Formula/page.rb | 4 |
2 files changed, 21 insertions, 2 deletions
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 |