ktmpl: use cargo install --prefix
This commit is contained in:
parent
031dfd36c3
commit
60f5e2feaf
1 changed files with 1 additions and 2 deletions
|
@ -15,8 +15,7 @@ class Ktmpl < Formula
|
|||
depends_on "rust" => :build
|
||||
|
||||
def install
|
||||
system "cargo", "build", "--release"
|
||||
bin.install "target/release/ktmpl"
|
||||
system "cargo", "install", "--root", prefix
|
||||
end
|
||||
|
||||
test do
|
||||
|
|
Loading…
Reference in a new issue