Merge pull request #11749 from samford/allow-configuration-of-std-cargo-args
Formula: Allow configuration of std_cargo_args
This commit is contained in:
commit
0e6dc7badb
@ -1479,9 +1479,9 @@ class Formula
|
|||||||
end
|
end
|
||||||
|
|
||||||
# Standard parameters for cargo builds.
|
# Standard parameters for cargo builds.
|
||||||
sig { returns(T::Array[T.any(String, Pathname)]) }
|
sig { params(root: String, path: String).returns(T::Array[T.any(String, Pathname)]) }
|
||||||
def std_cargo_args
|
def std_cargo_args(root: prefix, path: ".")
|
||||||
["--locked", "--root", prefix, "--path", "."]
|
["--locked", "--root", root, "--path", path]
|
||||||
end
|
end
|
||||||
|
|
||||||
# Standard parameters for CMake builds.
|
# Standard parameters for CMake builds.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user