Would be nice to have the cli released through homebrew/linuxbrew also.
Coming soon... 馃
https://github.com/Homebrew/homebrew-core/pull/44575
all clear!
@masci @endorama my pr to homebrew was just merged,
can you review this one now? https://github.com/arduino/arduino-cli/pull/437
@Efrat19 thank you! I've just installed it, and everything went perfectly on Linux.
@gvarisco can you please give it a go under MacOSX?
As a reference, PR for arduino-cli inclusion in homebrew is https://github.com/Homebrew/homebrew-core/pull/44948 and got merged in https://github.com/Homebrew/homebrew-core/commit/cdf88f38253db3a05a4c6ef2f075a53a6c1d04d6
Will let you know once I run a couple of tests.
Could someone confirm that running brew test arduino-cli does not produce an exception on macOS?
Running this command on linux results in an exception as arduino-cli writes the new sketch in ~/Arduino/test_sketch and in the formula test definition it is actually ~/Documents/Arduino/test_sketch ($HOME is set to testpath during test).
https://github.com/Homebrew/linuxbrew-core/pull/16040
Looking at https://jenkins.brew.sh/job/Homebrew%20Core%20Pull%20Requests/49337/version=mojave/testReport/brew-test-bot/mojave/test_arduino_cli/ one can see that the test is successful on macOS.
Had to make a workaround like this: https://github.com/Homebrew/linuxbrew-core/pull/16040/files
@gvarisco any idea why the new sketch is saved in different locations on macOS and linux?
@dawidd6 as far as I saw this was fixed at arduino-cli0.5.0-showports, but you preferred not to use that version because it was a pre-release
@Efrat19 I see, thanks. Actually I was in favor of this -showports release, but anyway I workarounded it on linux for now.
Closing as fixed by https://formulae.brew.sh/formula/arduino-cli
Most helpful comment
@Efrat19 thank you! I've just installed it, and everything went perfectly on Linux.
@gvarisco can you please give it a go under MacOSX?