Branch: refs/heads/main
Revision: 07eeed3
Author: arezaii
Link: fix(mason-example): properly set the build flag when running examples by arezaii · Pull Request #19987 · chapel-lang/chapel · GitHub
Log Message:
Merge pull request #19987 from arezaii/mason-example-bugfix
fix(mason-example): properly set the build flag when running examples
This PR fixes a bug where running mason run --example <example_name> --build
would not rebuild the example prior to running.
- the flag to tell an example to build was defaulted to false and
never updated with the result of command-line parsing. This caused
mason run --example <name> --build
to fail to build.
Reported by user during CHIUW 2022 coding day.
TESTING:
- paratest
-
mason run --example <example_name> --build
builds before run
reviewed by @bmcdonald3 - thank you!
Signed-off-by: arezaii ahmad.rezaii@hpe.com
Modified Files:
M tools/mason/MasonRun.chpl
Compare: https://github.com/chapel-lang/chapel/compare/88e15c9dd509...07eeed3c3d9e