dust 0.3.1
This commit is contained in:
parent
278013bce2
commit
fb725f5227
1 changed files with 18 additions and 0 deletions
18
Formula/dust.rb
Normal file
18
Formula/dust.rb
Normal 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
|
Loading…
Reference in a new issue