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

Removed test/generate_code.{sh|bat} #6873

Merged
merged 4 commits into from Dec 1, 2021

Conversation

dbaileychess
Copy link
Collaborator

Ref #6857

Remove the old generate_code and check scripts as the code should generated correctly every time. I think if we encounter errors in the future with the code gen not running correctly after a change, we should fix it in that PR.

@github-actions github-actions bot added c++ CI Continuous Integration python and removed python labels Oct 1, 2021
@aardappel
Copy link
Collaborator

The check generating code scripts would catch people making modifications and then not running the scripts and/or not adding all changes to the PR etc.. how are we covered against that now?

@github-actions github-actions bot added the python label Oct 5, 2021
@dbaileychess dbaileychess force-pushed the remove_old_scripts branch 2 times, most recently from f0b19b1 to 042f830 Compare October 7, 2021 23:17
@dbaileychess
Copy link
Collaborator Author

I'm still working on this, getting everything right for all the platforms and configurations is hard!

remove c++0x from generate_code.py

added check generate code script in python

add windows specific call

added flags to generate_code.py

Set c++-0x on BUILD_LEGACY

Skip generating monster_extra if requested
@dbaileychess
Copy link
Collaborator Author

@aardappel You can take another look. I got the check generated code back in to CI. I did have to disable it for VS2010 in appveyor because it does produce different generated files due only supporting c++0x.

@aardappel
Copy link
Collaborator

Generally LGTM!

@dbaileychess dbaileychess merged commit e47dc0e into google:master Dec 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c++ CI Continuous Integration python
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants