just: use cargo install --prefix
This commit is contained in:
parent
067cfa3ee6
commit
031dfd36c3
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue