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

Localization hookup artifacts #773

Merged

Conversation

JavierMatosD
Copy link
Contributor

No description provided.

@JavierMatosD JavierMatosD marked this pull request as ready for review December 8, 2022 01:36
@JavierMatosD JavierMatosD merged commit e90042d into microsoft:main Jan 11, 2023
Comment on lines +423 to +429
add_custom_target(generate-message-map
COMMAND vcpkg x-generate-default-message-map locales/messages.json ${CMAKE_CURRENT_LIST_DIR}/ce/ce/locales/messages.json
DEPENDS ${CMAKE_CURRENT_LIST_DIR}/ce/ce/locales/messages.json
WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR}
COMMENT "Update locales/messages.json"
VERBATIM
)
Copy link
Contributor

Choose a reason for hiding this comment

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

Huh why is this behind VCPKG_ARTIFACTS_DEVELOPMENT?

Copy link
Contributor

Choose a reason for hiding this comment

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

You still need the old version when you do "normal" vcpkg-tool development

Copy link
Member

Choose a reason for hiding this comment

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

Huh why is this behind VCPKG_ARTIFACTS_DEVELOPMENT?

Because VCPKG_ARTIFACTS_DEVELOPMENT implies that you have node / NPM / rush et al. set up and working on your machine. People deploying vcpkg on a platform we don't have a binary release for can't / shouldn't be expected to provide those dependencies.

Copy link
Contributor

Choose a reason for hiding this comment

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

Yeah but only executing the command vcpkg x-generate-default-message-map locales/messages.json is needed for vcpkg-tool development to make the ci happy. So that should be added as target if VCPKG_ARTIFACTS_DEVELOPMENT is false.

Copy link
Member

Choose a reason for hiding this comment

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

Yeah but only executing the command vcpkg x-generate-default-message-map locales/messages.json is needed for vcpkg-tool development to make the ci happy.

That command needs VCPKG_ARTIFACTS_DEVELOPMENT to be on after this change.

Copy link
Contributor

Choose a reason for hiding this comment

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

I have created #854

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.

6 participants