diff options
| author | Ruben Beltran del Rio <jj@r.bdr.sh> | 2025-12-18 23:58:57 +0100 |
|---|---|---|
| committer | Ruben Beltran del Rio <jj@r.bdr.sh> | 2025-12-19 00:02:31 +0100 |
| commit | 6468ba430cb0ae9857f0f42a4f0e92c9c6e69a4f (patch) | |
| tree | f5595d5a653277304550462ad8adb0fcf4302071 | |
| parent | 2d4c15c344e517462d40c37048d0128a273f38a0 (diff) | |
Update map, add wmap
| -rw-r--r-- | Casks/map.rb | 4 | ||||
| -rw-r--r-- | Formula/wmap-1.0.0.rb | 21 | ||||
| -rw-r--r-- | Formula/wmap.rb | 21 |
3 files changed, 44 insertions, 2 deletions
diff --git a/Casks/map.rb b/Casks/map.rb index 77f95ee..f6a7f99 100644 --- a/Casks/map.rb +++ b/Casks/map.rb @@ -1,6 +1,6 @@ cask "map" do - version "4.2.0" - sha256 "091a4f3f0c68f61a9581acfa55e5e5be95b8976477c4f9ddc93b99d025b35120" + version "4.3.0" + sha256 "1c24fcaaf71404666d3a9877eaa8664e3f9907184e072d9a12df08c4783af25b" url "https://build.r.bdr.sh/map/Map-#{version}.dmg" name "Map" diff --git a/Formula/wmap-1.0.0.rb b/Formula/wmap-1.0.0.rb new file mode 100644 index 0000000..b354edb --- /dev/null +++ b/Formula/wmap-1.0.0.rb @@ -0,0 +1,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 diff --git a/Formula/wmap.rb b/Formula/wmap.rb new file mode 100644 index 0000000..b354edb --- /dev/null +++ b/Formula/wmap.rb @@ -0,0 +1,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 |