mirror of
https://github.com/HendrikRauh/dmx-interface.git
synced 2025-05-18 21:55:34 +00:00
Merge pull request #38 from HendrikRauh/HendrikRauh/issue36
Pre build script to update submodules
This commit is contained in:
commit
d9874bc79e
2 changed files with 9 additions and 0 deletions
|
@ -20,3 +20,4 @@ platform = espressif32
|
|||
board = lolin_s2_mini
|
||||
lib_deps =
|
||||
bblanchon/ArduinoJson @ ^7.2.0
|
||||
extra_scripts = pre:pre_extra_script.py
|
||||
|
|
8
pre_extra_script.py
Normal file
8
pre_extra_script.py
Normal file
|
@ -0,0 +1,8 @@
|
|||
Import("env")
|
||||
|
||||
if env.IsIntegrationDump():
|
||||
# stop the current script execution
|
||||
Return()
|
||||
|
||||
env.Execute("git submodule update --init --recursive")
|
||||
print("✅ SUBMODULES UPDATED")
|
Loading…
Add table
Reference in a new issue