]> git.r.bdr.sh - rbdr/homebrew-apps/blame - Formula/page-1.0.0.rb
Add map 3.1.0
[rbdr/homebrew-apps] / Formula / page-1.0.0.rb
CommitLineData
d431bffa
RBR
1class Page < Formula
2 desc "A static website generator for exactly 1 use case."
f4ddc73a 3 homepage "https://git.sr.ht/~rbdr/page"
d431bffa
RBR
4 url "https://git.sr.ht/~rbdr/page", tag: "1.0.0"
5 license "Apache-2.0"
6 head "https://git.sr.ht/~rbdr/page", branch: "main"
7 version "1.0.0"
8
9 depends_on "rust" => :build
10
11 def install
12 system "cargo", "install", *std_cargo_args
13 end
14
15 test do
16 (testpath/"_layout.html").write("{{ content }}")
17 system "#{bin}/page"
18 end
19end