Closed egnor closed 2 years ago
Thanks for the continued support!! ❤️
I like the idea of adding a compile-and-upload
command while keeping the upload
command pure. This way the intent is always clear. I've already started on a draft of this approach.
I'll look into making the upload command complain if the firmware image is older than the source .ino
but I'll refrain from failing so as not to make assumptions about what the user intends.
Once again thank you for the awesome suggestions!
Done and released in v2.4.0
!
I've also added the command aliases to the docs and the help menus. For example ardi compile-and-upload
can also be called via ardi deploy
I continue to use and love Ardi!! 🙏 I am recommending it to everyone!
A very very common use case is to run
ardi compile
followed byardi upload
. If one is not careful, it's easy to forget thecompile
step, or not notice a failure, and upload an old firmware image from a previous compilation.Possibilities:
ardi compile-and-upload
command (that takes the union of both steps options), which can become the standard thing to run for programming (similar toattach-and-watch
).ardi upload
complain (perhaps even fail) if the firmware image is older than the source.ino
file (and its dependencies??).ardi upload
always build as needed??