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

Allow naming sketches like "RCS" and "CVS" #537

Merged
merged 4 commits into from
Jan 9, 2020
Merged

Allow naming sketches like "RCS" and "CVS" #537

merged 4 commits into from
Jan 9, 2020

Conversation

masci
Copy link
Contributor

@masci masci commented Jan 2, 2020

Fixes #522

The filter we use to ignore files contained in version control systems' cache was applied to the sketch folder itself, thus preventing a sketch to be named like RCS.

This PR increases resiliency by avoiding panics if a sketch name couldn't be found and applies blacklist filters only to folders contained in the sketch, i.e. excluding the root folder.

Copy link
Contributor

@rsora rsora left a comment

Choose a reason for hiding this comment

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

LGTM!

@masci masci merged commit e335327 into master Jan 9, 2020
@masci masci deleted the massi/522 branch January 9, 2020 14:37
cmaglie added a commit to arduino/arduino-builder that referenced this pull request Jan 23, 2020
Fix library priority selection
- arduino/arduino-cli#565

Load contents of source files only when needed
- arduino/arduino-cli#559

Allow naming sketches like "RCS" and "CVS"
- arduino/arduino-cli#537
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.

Additional source files that start with RCS are no longer included in a project
2 participants