Skip to content

Delete generated file, add to gitignore#4915

Merged
weswigham merged 1 commit into
microsoft:masterfrom
weswigham:remove-generated-code
Sep 22, 2015
Merged

Delete generated file, add to gitignore#4915
weswigham merged 1 commit into
microsoft:masterfrom
weswigham:remove-generated-code

Conversation

@weswigham

Copy link
Copy Markdown
Member

Implements #4909

Our build was already setup to handle building the process messages script and processing the messages before building the compiler. jake with none of the generated files present will create them all correctly.

Removing the generated code form the repo should reduce merge conflicts in PRs and hopefully now provide a build failure warning when IDs clash in the json file.

@mhegazy

mhegazy commented Sep 22, 2015

Copy link
Copy Markdown
Contributor

👍

weswigham added a commit that referenced this pull request Sep 22, 2015
Delete generated file, add to gitignore
@weswigham weswigham merged commit 7b48a18 into microsoft:master Sep 22, 2015
@weswigham weswigham deleted the remove-generated-code branch September 22, 2015 00:16
@DanielRosenwasser

Copy link
Copy Markdown
Member

I think the original reason that we did this was because of some intermingling between sys and diagnostics. I think this should be fine now.

@DanielRosenwasser

Copy link
Copy Markdown
Member

This serves a very sub-par editing experience if I haven't performed a jake generate-diagnostics. Do either of you have objections to me reverting this change?

@weswigham

Copy link
Copy Markdown
Member Author

Yes. We mentioned that in #4909 when discussing if this was desirable. It's pretty much the only downside, but reduces merge issues.

@weswigham

Copy link
Copy Markdown
Member Author

I recommend a post-checkout hook to build the file, if you like having a reliable editing experience.

@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants