-
-
Notifications
You must be signed in to change notification settings - Fork 393
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
"compile --build-path" does not work for relative paths #630
Comments
Hey, |
hi @ktdreyer |
My bad, I screwed up my initial report here. I meant to say that the command does not work when I omit " I tried " I tested this on my normal Fedora 31 laptop as well as a completely new
|
Hi, I have a concern about the issue itself & proposed fix. According to other functions in the CLI library the path have to be absolute, e.g.: and even in Compile for Cache Path. Why do you want to change compile --build-path functionality, excluding the others? |
Makes sense, we could actually make a small modification to the way paths are handled by allowing support for both absolute and relative paths. |
I think users will expect both absolute and relative paths to work. Like when I pass an absolute or relative path to |
Yup, wasted 2 hours figuring out why
but
|
@bxparks
|
@ubidefeo: Just wanted to say thanks, the |
@bxparks |
This is still happening on Mac OS 11.5.2 and arduino-cli 0.18.3 Bug ReportCurrent behaviorCompiling a sketch with the
I get:
Expected behaviorI expect the program to save the compiled files at the chosen folder and to re-use them when I compile again afterwards. This would be similar to the 'output' option in the Arduino extension in Visual Studio Code. Environment
|
I cannot specify a relative path for
compile --build-path
.In other words, this does not work:
It took me a while to understand this error message.
It does work when I specify an absolute path:
It would be great to make the following improvements:
compile --help
to indicate that--build-path
must be an absolute path.--build-path
.The text was updated successfully, but these errors were encountered: