Move sketch to an appropriately named folder#1
Open
per1234 wants to merge 1 commit intodersimn:masterfrom
per1234:sketch-folder
Open
Move sketch to an appropriately named folder#1per1234 wants to merge 1 commit intodersimn:masterfrom per1234:sketch-folder
per1234 wants to merge 1 commit intodersimn:masterfrom
per1234:sketch-folder
Conversation
The Arduino IDE requires that a sketch be located in a folder of the same name. When opening a file that does not meet this requirement the Arduino IDE presents a dialog: The file "DevilRemote.ino" needs to be inside a sketch folder named "DevilRemote". Create this folder, move the file, and continue? After clicking "OK" the Arduino IDE currently moves only the file DevilRemote.ino to the new folder, leaving behind the other sketch files. This causes compilation of the sketch to fail "fatal error: default_config.h: No such file or directory". Although the repository name does match the sketch name, it is common for people to use GitHub's "Clone or Download > Download ZIP" feature to download sketches, rather than doing a Git clone, and GitHub appends the branch/tag/commit to the downloaded folder name, which will cause the folder to still not match the sketch name.
Owner
|
That's fault is on the user in my opinion. If this project reaches something close to "productive" level, I'll consider publishing major versions via Github Releases - an probably add some schematics. |
Author
|
So you have no interest in merging this PR? |
Owner
|
I'll think about it, because splitting the "source code" and "docs" folder kinda makes sense, but all repositories I'm currently working on have the |
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Arduino IDE requires that a sketch be located in a folder of the same name. When opening a file that does not meet this requirement the Arduino IDE presents a dialog:
After clicking "OK" the Arduino IDE currently moves only the file DevilRemote.ino to the new folder, leaving behind the other sketch files. This causes compilation of the sketch to fail:
Although the repository name does match the sketch name, it is common for people to use GitHub's Clone or Download > Download ZIP feature to download sketches, rather than doing a Git clone, and GitHub appends the branch/tag/commit to the downloaded folder name, which will cause the folder to still not match the sketch name.