You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How would we implement this behaviour? Would we remove the tests when building the model from the manifest or should we just filter them out from the targets?
Model should have everything. Then in fpm build you only build the main program but not tests. That can be achieved with multiple approaches, either removing the tests from the model, or by skipping them when building.
How would we implement this behaviour? Would we remove the tests when building the model from the manifest or should we just filter them out from the targets?
I agree and would suggest keeping everything in the model and simply filtering them out with additional arguments when building the target list in build_target_list
LKedward
changed the title
Behavior of fpm build and fpm test
Only compile tests for fpm test command
Sep 14, 2021
cargo build
does not build tests. You have to docargo build --tests
to also build tests.cargo test
build tests (if needed) and runs them.I suggest we follow the same approach.
The text was updated successfully, but these errors were encountered: