refactor Build Date, GIT_TAG, and GIT_HASH support
Build of FoxMesh / build-and-test (pull_request) Successful in 2m44s

Dieser Commit ist enthalten in:
tom committed 2026-10-21 00:13:59 +02:00
1 Ursprung 618ff87d5c
Commit fb0e096e4e
4 Dateien geändert
+15 -6

Keine Dateien entsprechen Ihrer Suche

+5
Datei anzeigen
@@ -25,6 +25,11 @@ build_flags =
; -isystem /home/tom/.platformio/packages/framework-espidf/components/esp_libc/platform_include
-Wno-include-next
; --- STRICT MODE FOR PROJECT APPLICATION CODE ONLY ---
#-DGIT_HASH=\"\"${sysenv.GIT_HASH}\"\"
!echo -DGIT_HASH=\\\"$(git rev-parse --short HEAD)\\\"
!echo -DGIT_TAG=\\\"$(git describe --tags --always)\\\"
; These flags are strictly applied ONLY to C++ files inside the src/ directory.
build_src_flags =
; Enables all standard compiler warning flags