Bring back "src" directory concept from Pymakr 1.x? #264
Replies: 2 comments 6 replies
-
The preview version now has Do you still think the source folder should be nested and if so, would something like this work for you? // pymakr.conf
{
"projectDir": "src"
} |
Beta Was this translation helpful? Give feedback.
-
I'm working on this now, but have some questions about the name. The main issue is that we don't know if users are compiling their code before uploading it to the device. It would therefore be prudent to plan for nomenclature that works with both handwritten and compiled code. I've listed some names below and attaches my thoughts.
What are your thoughts on this? Personally I'm inclined towards making this the new default for {
"name": "My Project",
"dist_dir": "./device"
} |
Beta Was this translation helpful? Give feedback.
-
Pymakr 1.x had a setup where your actual Micropython source code lived in the
src
directory and when you uploaded to the device, only the files in that directory would be copied across, like this:That way all the
.vscode
,.micropy
, READMEs, and whatever other junk that lives in the root level of your repository wouldn't all be copied across as well. It'd be great to see Pymakr 2.x bring this back, because it's annoying having to wait for all of the files to be copied across again when all I've changed ismain.py
. :)Beta Was this translation helpful? Give feedback.
All reactions