ktmpl: use cargo install --prefix

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

View file

@ -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