Skip to content

Commit

Permalink
exa 0.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ilovezfs committed May 19, 2017
1 parent 3e01417 commit 68beb6e
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions Formula/exa.rb
@@ -1,8 +1,8 @@
class Exa < Formula
desc "Modern replacement for 'ls'"
homepage "https://the.exa.website"
url "https://github.com/ogham/exa/archive/v0.5.0.tar.gz"
sha256 "273573df4234829c48102b5afa050d8e1adfc235e426e5ab9faa136bea46c20c"
url "https://github.com/ogham/exa/archive/v0.6.0.tar.gz"
sha256 "84cd6b3c389d5ec0483f8e438557d971897b5e1015d22a8cb3ae7558f87f4bf0"
head "https://github.com/ogham/exa.git"

bottle do
Expand All @@ -14,15 +14,12 @@ class Exa < Formula

depends_on "cmake" => :build
depends_on "rust" => :build
depends_on "libgit2" => :recommended

def install
args = ["--release"]
args << "--no-default-features" if build.without? "libgit2"

system "cargo", "build", *args
bin.install "target/release/exa"
man1.install "contrib/man/exa.1"
system "make", "install", "PREFIX=#{prefix}"
bash_completion.install "contrib/completions.bash" => "exa"
zsh_completion.install "contrib/completions.zsh" => "_exa"
fish_completion.install "contrib/completions.fish" => "exa.fish"
end

test do
Expand Down

0 comments on commit 68beb6e

Please sign in to comment.