sccache: use `cargo install --prefix`
parent
4a756b6dbc
commit
1247413d69
|
@ -18,8 +18,7 @@ class Sccache < Formula
|
|||
ENV["OPENSSL_INCLUDE_DIR"] = Formula["openssl"].opt_include
|
||||
ENV["OPENSSL_LIB_DIR"] = Formula["openssl"].opt_lib
|
||||
|
||||
system "cargo", "build", "--release", "--features", "all"
|
||||
bin.install "target/release/sccache"
|
||||
system "cargo", "install", "--root", prefix, "--features", "all"
|
||||
end
|
||||
|
||||
test do
|
||||
|
|
Loading…
Reference in New Issue