Skip to content

Recusively copying additional files #3435

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

Merged
merged 1 commit into from
Jun 30, 2015
Merged

Recusively copying additional files #3435

merged 1 commit into from
Jun 30, 2015

Conversation

ffissore
Copy link
Contributor

Compiler: additional files with allowed extentions are recursively copied to build folder. Fixes #3080

@ffissore ffissore added Component: IDE The Arduino IDE Component: Compilation Related to compilation of Arduino sketches labels Jun 29, 2015
@ffissore ffissore self-assigned this Jun 29, 2015
@ffissore ffissore added this to the Release 1.6.6 milestone Jun 29, 2015
ffissore added a commit that referenced this pull request Jun 30, 2015
@ffissore ffissore merged commit ddd19f6 into arduino:master Jun 30, 2015
@ffissore ffissore deleted the copy-other-files-recursively branch June 30, 2015 07:38
ffissore pushed a commit that referenced this pull request Jun 30, 2015
… be copied to build path. Hence, restored previous "copy sketch file" logic, couples with a recursive one, used only for files external to the sketch (in subfolders)
@matthijskooijman
Copy link
Collaborator

Hm, something I realized about this change: Before, you could modify and compile a sketch without having to save your changes, I believe. With this change, this only applies to .ino files, but any unsaved changes to other files will be ignored I think?

Wouldn't it be more consistent anyway to add any files in subdirs to the sketch's file list (and have them opened in the IDE) instead of modifying just the compile process?

@ffissore
Copy link
Contributor Author

ffissore commented Jul 1, 2015

Right, I took the wrong way when fixing this and it popped up with #3440. I've reverted to the previous code in 9a01e30 and isolated the copy of files only to those in subfolders, so now it works again as it used to
Adding subfolders files as tabs would be nice but it's quite a change. Can you open a new dedicated issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Compilation Related to compilation of Arduino sketches Component: IDE The Arduino IDE
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants