Skip to content
New issue

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

feat!(cargo-acap-build): Make the release profile the default #132

Merged
merged 1 commit into from
Nov 19, 2024

Conversation

apljungquist
Copy link
Contributor

@apljungquist apljungquist commented Nov 19, 2024

Since cargo-acap-sdk is the preferred tool for local development it should be relatively rare for people to use cargo-acap-build locally. As such it makes sense to optimize it for the continuous integration where I expect it will be used relatively frequently.

This decision rests on the assumption that there are few cases when a developer would be better server by cargo-acap-build for local development compared to cargo-acap-sdk build.

Makefile:

  • Update targets to do the same as they did before.

crates/cargo-acap-build/src/main.rs:

  • The pattern for overriding the profile is taken from cargo-acap-sdk.

Since `cargo-acap-sdk` is the preferred tool for local development it
should be relatively rare for people to use `cargo-acap-build` locally.
As such it makes sense to optimize it for the continuous integration
where I expect it will be used relatively frequently.

This decision rests on the assumption that there are few cases when a
developer would be better server by `cargo-acap-build` for local
development compared to `cargo-acap-sdk build`.
@apljungquist apljungquist requested a review from a team as a code owner November 19, 2024 16:29
@apljungquist apljungquist merged commit e81aee8 into main Nov 19, 2024
2 checks passed
@apljungquist apljungquist deleted the cargo-acap-build branch November 19, 2024 17:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants