We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cargo install
Right now we have a default set of arguments used for cargo install.
https://github.com/paketo-community/cargo-install/blob/main/cargo/cli_runner.go#L48-L53
Ex: cargo install --color=never --path=. --root=<destination layer>
cargo install --color=never --path=. --root=<destination layer>
This works fine for simple projects but doesn't work when you have multiple workspaces.
This issue is to support customizing these arguments so one can easily include the arguments required to build a project, such as
--path=./todo
--bins
--bin=foo
-v
--frozen
--locked
--offline
Users should not be able to override --color=never and --root=<destination layer>. These are required for the buildpack to work properly.
--color=never
--root=<destination layer>
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Right now we have a default set of arguments used for
cargo install
.https://github.com/paketo-community/cargo-install/blob/main/cargo/cli_runner.go#L48-L53
Ex:
cargo install --color=never --path=. --root=<destination layer>
This works fine for simple projects but doesn't work when you have multiple workspaces.
This issue is to support customizing these arguments so one can easily include the arguments required to build a project, such as
--path=./todo
(to build a single project in a workspace).--bins
to build all binaries--bin=foo
to build the foo binary-v
for verbose output--frozen
,--locked
or--offline
for customizing if Cargo will access the networkUsers should not be able to override
--color=never
and--root=<destination layer>
. These are required for the buildpack to work properly.The text was updated successfully, but these errors were encountered: