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

Remove GN generated files from repo #4534

Merged
merged 6 commits into from
Jan 22, 2024
Merged

Remove GN generated files from repo #4534

merged 6 commits into from
Jan 22, 2024

Conversation

sffc
Copy link
Member

@sffc sffc commented Jan 22, 2024

Part of #3006

Including some changes in the Cargo Make script for this to work.

The directory can be moved in a clean follow-up PR.

@sffc sffc requested a review from robertbastian January 22, 2024 05:43
@sffc sffc requested a review from Manishearth as a code owner January 22, 2024 05:43
Manishearth
Manishearth previously approved these changes Jan 22, 2024
exec --fail-on-error cargo generate-lockfile

# These versions should match what is in icu_capi_gn Cargo.toml
exec --fail-on-error cargo update proc-macro2 --precise 1.0.75
Copy link
Member

Choose a reason for hiding this comment

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

thought: can we specify this with an = bound in Cargo.toml?

Copy link
Member

Choose a reason for hiding this comment

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

i guess that would end up with them getting public gn targets. hm.

Copy link
Member Author

Choose a reason for hiding this comment

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

Would it work for the cargo resolver if I listed the versions as build-dependencies or dev-dependencies?

@@ -1,3 +1,6 @@
out/
third_party_tools/
vendor/
.cargo/config
icu4x/BUILD.gn
Cargo.lock
Copy link
Member

Choose a reason for hiding this comment

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

question: the file is gitignored but still checked in to git. intentional?

(I can see wanting to do this for a file that you want to "seed" but don't care about diffs for, and will require an explicit git add to modify. which seems appropriate-ish)

Copy link
Member Author

Choose a reason for hiding this comment

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

It was supposed to be deleted. Fixed

@sffc sffc requested a review from Manishearth January 22, 2024 17:32
@sffc sffc merged commit eac2cb2 into unicode-org:main Jan 22, 2024
29 checks passed
@sffc sffc deleted the gn-auto branch January 22, 2024 18:27
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.

2 participants