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

Update genrules to not use Arules #149

Merged
merged 1 commit into from
Oct 25, 2023

Conversation

jt-traub
Copy link
Contributor

This removes the rest of the specialized files classes as well as the fileio.cpp and fileio.h source files.

Rules output from before my changes has been added to the snapshot tests to verify that the changes didn't break the rules output under as many different situations as I could account for.

There is still a ton of cleanup that could be done in the rules themselves to handle inconsistent use of spacing, extraneous newlines, and some typos that I spotted while going through as well as places that could/should link to subsections which don't do so today.

Ideally, most of these rules would get rewritten via a templating engine so that it was a lot more obvious what text was included/excluded and whether the newlines/punctuation/etc were correct in all variants. That however, was far beyond the reach of this set of changes which was focused solely on removing the use of Arules special file handling.

This removes the rest of the specialized files classes.
@artyomtrityak artyomtrityak merged commit 323872d into Atlantis-PBEM:master Oct 25, 2023
5 checks passed
@jt-traub jt-traub deleted the jt-rules-writer branch October 25, 2023 21:52
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