Skip to content

chore(core): kmc --outFile to kmc --out-file (and -- rider) 🙀#7311

Merged
mcdurdin merged 5 commits intofeature-ldmlfrom
chore/core/epic-ldml/fixup-kmc-outfile-param-in-tests
Sep 20, 2022
Merged

chore(core): kmc --outFile to kmc --out-file (and -- rider) 🙀#7311
mcdurdin merged 5 commits intofeature-ldmlfrom
chore/core/epic-ldml/fixup-kmc-outfile-param-in-tests

Conversation

@mcdurdin
Copy link
Copy Markdown
Member

@mcdurdin mcdurdin commented Sep 18, 2022

This fixes the failing Core tests in #7054 -- broke in #7286, but wasn't picked up
there because Core build didn't run on that PR.

All about ./build.sh --

This update also allows use of ./build.sh configure -- --param-one=foo ....

Updates Core build to support -- (including build.bat wrapper for Windows builds). Fixes Linux debian rules to pass additional parameters in with this format again, and adds :arch to only build current architecture, not wasm as well...

Note that when using -- you should typically avoid multiple actions in a single command, as each action may interpret the additional parameters differently!

@keymanapp-test-bot skip

@mcdurdin mcdurdin requested a review from rc-swag as a code owner September 18, 2022 23:14
@mcdurdin mcdurdin self-assigned this Sep 18, 2022
@mcdurdin mcdurdin added this to the A16S11 milestone Sep 18, 2022
@mcdurdin mcdurdin requested a review from srl295 September 18, 2022 23:14
@keymanapp-test-bot
Copy link
Copy Markdown

keymanapp-test-bot bot commented Sep 18, 2022

Copy link
Copy Markdown
Contributor

@ermshiperete ermshiperete left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm - although I don't particularly like putting these extra parameters in a --configure parameter. But that's a different thing...

Allows use of `./build.sh configure -- --param-one=foo ...`.

Updates Core build to support `--` (including build.bat wrapper for
Windows builds). Fixes Linux debian rules to pass additional
parameters in with this format again, and adds `:arch` to only build
current architecture, not wasm as well...

Note that when using `--` you should typically avoid multiple actions in
a single command, as each action may interpret the additional parameters
differently!
@mcdurdin mcdurdin requested a review from jahorton as a code owner September 19, 2022 23:53
@github-actions github-actions bot added common/ common/resources/ Build infrastructure labels Sep 19, 2022
@mcdurdin mcdurdin changed the title chore(core): kmc --outFile to --out-file 🙀 chore(core): kmc --outFile to kmc --out-file (and -- rider) 🙀 Sep 19, 2022
@mcdurdin
Copy link
Copy Markdown
Member Author

although I don't particularly like putting these extra parameters in a --configure parameter. But that's a different thing...

And it wasn't working anyway so fixed to use -- again. But see PR description for caveats.

@mcdurdin mcdurdin merged commit 7e9f9ce into feature-ldml Sep 20, 2022
@mcdurdin mcdurdin deleted the chore/core/epic-ldml/fixup-kmc-outfile-param-in-tests branch September 20, 2022 05:03
"--target-path=opt_target_path Override for build/ target path" \
"--configure=opt_configure Options to pass to C++ configure" \
"--test=opt_tests,-t Test[s] to run (space separated)"
"--debug,d configuration is 'debug', not 'release'" \
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nothing new, but that should have been: --debug,-d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants