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

Make add_files recurse directories #95

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

OskarPersson
Copy link

No description provided.

Copy link
Owner

@kaj kaj left a comment

Choose a reason for hiding this comment

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

Hmm ... If there two files with the same name in different subdirectories, there will be two constants with the same name in the generated statics modue, yielding a confusing compile error message.

Maybe the constant names should be prefixed with the subdirectory names? Or maybe we should just add a warning about it in the documentation of fn add_files(...)?

@OskarPersson
Copy link
Author

Oh yeah you’re right. I think a prefix would be best

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.

None yet

2 participants