mapsize 2.0.0

This commit is contained in:
Andy Dixon
2026-10-09 07:33:53 +01:00
parent 44e8be5047
commit 57c6cb5d01
+4 -5
View File
@@ -1,16 +1,15 @@
class Mapsize < Formula
desc "Interactive terminal disk usage analyser with a navigable treemap"
homepage "https://github.com/andydixon/mapsize"
url "https://github.com/andydixon/mapsize/archive/refs/tags/v1.2.0.tar.gz"
sha256 "659bd10fa7dc3781994bd7b2b187c7bc33a87134794332179bfead228485bb89"
url "https://github.com/andydixon/mapsize/archive/refs/tags/v2.0.0.tar.gz"
sha256 "cf9e68b5f57959e5768d2dff4fc38d26f108fcbf9d43081f3719f2b917d64f5e"
license "GPL-3.0-or-later"
head "https://github.com/andydixon/mapsize.git", branch: "master"
depends_on "go" => :build
depends_on "rust" => :build
def install
ldflags = "-X github.com/andydixon/mapsize/internal/brand.Version=#{version}"
system "go", "build", *std_go_args(ldflags:), "./cmd/mapsize"
system "cargo", "install", *std_cargo_args
man1.install "docs/mapsize.1"
end