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