Skip to content

Print running command during the compile step of the sketch #369

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

Open
3 tasks done
macsnoeren opened this issue Mar 31, 2025 · 0 comments
Open
3 tasks done

Print running command during the compile step of the sketch #369

macsnoeren opened this issue Mar 31, 2025 · 0 comments
Labels
topic: code Related to content of the project itself type: enhancement Proposed improvement

Comments

@macsnoeren
Copy link

Describe the request

As discussed in issue #368 a feature request is created. An improvement could be that the actual call (running command) is printed to the output, so it can be checked during the process. This type of output is given by the previous steps, but not during the compilation step. Below it is seen that all the steps before the "Compiling sketch" step outputs the command that is executed by "Running command:". The step "Compiling sketch" is also running the command "arduino-cli compile ...", but this is not printed.

> Running command: /home/runner/bin/arduino-cli core update-index --additional-urls https://arduino.esp8266.com/stable/package_esp8266com_index.json --log-level warn --verbose 
> Running command: /home/runner/bin/arduino-cli core install --additional-urls https://arduino.esp8266.com/stable/package_esp8266com_index.json esp8266:esp8266 --log-level warn --verbose 
> Running command: /home/runner/bin/arduino-cli lib install WiFiManager --log-level warn --verbose 
> Running command: /home/runner/bin/arduino-cli lib install ArduinoJson --log-level warn --verbose 
> Running command: /home/runner/bin/arduino-cli lib install PubSubClient --log-level warn --verbose 
> Compiling sketch: Firmware/sm-esp8266

@per1234 found this an excellent suggestion and suggested to open a feature request to effectively track this task.

Describe the current behavior

The command that is execute by the "Compiling sketch" step is printed.

'arduino/compile-sketches' version

latest

Additional context

No response

Issue checklist

  • I searched for previous requests in the issue tracker
  • I verified the feature was still missing when using the latest version
  • My request contains all necessary details
@macsnoeren macsnoeren added the type: enhancement Proposed improvement label Mar 31, 2025
@per1234 per1234 added the topic: code Related to content of the project itself label Apr 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself type: enhancement Proposed improvement
Projects
None yet
Development

No branches or pull requests

2 participants