blob: b354edbb01656130332831d4399aa23f7007b532 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
class Wmap < Formula
desc "Command line tool to generate wardley map images from wmap files."
homepage "https://map.tranquil.systems/cli"
if Hardware::CPU.arm?
url "https://build.r.bdr.sh/wmap/wmap-aarch64-apple-darwin-1.0.0.tar.gz"
sha256 "306023c12b226471e9e8aac602712631f41a131d83db7e996b4aa02f29e44e05"
else
url "https://build.r.bdr.sh/wmap/wmap-x86_64-apple-darwin-1.0.0.tar.gz"
sha256 "6a37c998337fe05851c57dff21fb5afc845482ec7b533f545fa67cc847ce9bfa"
end
license "AGPL-3.0-or-later"
head "https://git.sr.ht/~rbdr/wmap", branch: "main"
def install
bin.install "wmap"
end
test do
assert_match "1.0.0", shell_output("#{bin}/wmap -v")
end
end
|