just: use cargo install --prefix

This commit is contained in:
ilovezfs 2018-06-10 02:01:24 -07:00
parent 067cfa3ee6
commit 031dfd36c3

View file

@ -13,8 +13,7 @@ class Just < Formula
depends_on "rust" => :build
def install
system "cargo", "build", "--release"
bin.install "target/release/just"
system "cargo", "install", "--root", prefix
end
test do