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

Small tweaks to fud2 #1879

Merged
merged 2 commits into from
Jan 29, 2024
Merged

Small tweaks to fud2 #1879

merged 2 commits into from
Jan 29, 2024

Conversation

sampsyo
Copy link
Contributor

@sampsyo sampsyo commented Jan 28, 2024

There were two pieces of technical-debt backlog that I wanted to clear after merging #1877. Neither is very consequential! I just couldn't live with them floating out there, unfixed:

  • Better naming consistency for the Ninja variables we generate.
  • The support files are now in a directory called rsrc, not data, which was annoyingly vague.

I was inconsistent about whether to use snake_case or kebab-case; this
standardizes us on the latter (and brings a few other names in line with
each other).
The old name, `data`, was ridiculously vague and I don't know why I ever
thought it was a good idea. `rsrc` is slightly better.

This also changes the config option name; if you were using fud2
already, you will need to change this.
Copy link
Contributor

@rachitnigam rachitnigam left a comment

Choose a reason for hiding this comment

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

LGTM!

@rachitnigam
Copy link
Contributor

Merging this because I'm doing a little reorg! Hopefully there wasn't anything else that needed to be done

@rachitnigam rachitnigam merged commit d208c6c into main Jan 29, 2024
7 checks passed
@rachitnigam rachitnigam deleted the fud2-tweaks branch January 29, 2024 07:41
@sampsyo
Copy link
Contributor Author

sampsyo commented Jan 29, 2024

Great; thanks!!

rachitnigam pushed a commit that referenced this pull request Feb 16, 2024
* More consistent Ninja variable names

I was inconsistent about whether to use snake_case or kebab-case; this
standardizes us on the latter (and brings a few other names in line with
each other).

* Rename resources directory

The old name, `data`, was ridiculously vague and I don't know why I ever
thought it was a good idea. `rsrc` is slightly better.

This also changes the config option name; if you were using fud2
already, you will need to change this.
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