Build problem on MacOS: "No matches"

Hi, just getting started trying to build the Arduino CLI on MacOS. I installed Go and Taskfile without a problem, but when I run task in the project directory it only prints "No matches" and exits. Any pointers?

Hi @zvonler. As explained in the Arduino CLI contributor guide, the command to build Arduino CLI from the source code is:

task build

Please give that a try. Let us know if you have any questions or problems.

Thanks for the reply, I get the No matches. output from running task build, sorry that wasn't clear.

Is there any output other than "No matches."? I don't recognize this message. I'm not sure whether it is being printed by the task tool (meaning task was invoked, but experienced some sort of problem) or by your shell (meaning the shell encountered some problem with your task build invocation).

No, there's no other output, and it's a particularly difficult thing to google for since "task", and "no matches" aren't very specific. I know the message is coming from the task executable, because I have tried invoking it by its absolute path and get the same behavior, and also the text is colored yellow in my terminal.

Digging a little more, the string "No matches." is definitely in /opt/homebrew/bin/task, but I can't find it in the task source code.

Solved - I had installed homebrew package task, instead of go-task.

I'm glad you were able to find the cause of the problem. Thanks for taking the time to post an update with your solution!

Regards,
Per