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

Specify release profile in fpm test and fpm run #29

Merged
merged 3 commits into from
May 28, 2024

Conversation

milancurcic
Copy link
Contributor

Tiny change to the README to ensure tests and example are run in release mode with fpm.

A slightly confusing and not obvious default behavior of fpm is that if you don't specify profile, it defaults to "debug". So if you do:

fpm build --profile release  # this builds the library in the release mode
fpm test   # this builds the library in the debug mode and then runs the tests

you'll get two different builds and the tests will run in debug mode, but I don't think that was intended in the README. So this PR fixes that.

@nedtaylor nedtaylor self-requested a review May 28, 2024 19:22
@nedtaylor nedtaylor added the documentation Improvements or additions to documentation label May 28, 2024
@nedtaylor nedtaylor self-assigned this May 28, 2024
@nedtaylor nedtaylor merged commit 7370bfd into nedtaylor:main May 28, 2024
nedtaylor added a commit that referenced this pull request Jun 28, 2024
* Specify release profile in fpm test and fpm run

* Update CHANGELOG

---------

Co-authored-by: Ned Taylor <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants