aboutsummaryrefslogtreecommitdiff
path: root/Formula/blog-7.0.0.rb
blob: f103ed3961349b526bdea3b32b1d83029a27d43f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
class Blog < Formula
  desc "An almost ephemeral blog with a gopher / gemini archive."
  homepage "https://r.bdr.sh/blog.html"
  url "https://git.sr.ht/~rbdr/blog", tag: "7.0.0"
  license "AGPL-3.0-or-later"
  head "https://git.sr.ht/~rbdr/blog", branch: "main"
  version "7.0.0"

  depends_on "rust" => :build

  def install
    system "cargo", "install", *std_cargo_args
  end

  test do
    system "#{bin}/blog version"
  end
end