Provide property to identify when compile is only producing compilation database #1888
Open
3 tasks done
Labels
criticality: low
Of low impact
topic: code
Related to content of the project itself
type: enhancement
Proposed improvement
Describe the request
Some tools needs to know if the execution is trigger from the build button or from the database compilation or something else. With a property it would be able to give the tools the information and they can decide what is to do.
Describe the current behavior
Actualy the compilation database will trigger all prebuild recipes. This results in a problem if I add "automatic build number" to my source code project.
With my ESP32 project I use a prebuild application. This tool should run on every build step. With the actual arduino-cli version the appliaction triggers automatically on every database compilation step. So the build number increments without any click on the build button.
The problem has beend discussed here:
https://forum.arduino.cc/t/arduino-ide-2-x-bug-recipe-hook/1034011/9
Arduino CLI version
nightly build
Operating system
Windows
Operating system version
10
Additional context
No response
Issue checklist
The text was updated successfully, but these errors were encountered: