dust 0.3.1

This commit is contained in:
Bradford Folkens 2019-05-26 20:21:01 -07:00 committed by Sean Molenaar
parent 278013bce2
commit fb725f5227
No known key found for this signature in database
GPG key ID: 6BF5D8DF0D34FAAE

18
Formula/dust.rb Normal file
View file

@ -0,0 +1,18 @@
class Dust < Formula
desc "More intuitive version of du in rust"
homepage "https://github.com/bootandy/dust"
url "https://github.com/bootandy/dust/archive/v0.3.1.tar.gz"
sha256 "a10e0b2bc5862928a257e05866e077866193cc673d97a711ddd63eeecd075867"
head "https://github.com/bootandy/dust.git"
depends_on "rust" => :build
def install
system "cargo", "install", "--root", prefix,
"--path", "."
end
test do
assert_match /\d+.+?\./, shell_output("#{bin}/dust -n 1")
end
end