mirror of https://github.com/ArduPilot/ardupilot
waf: also run Tools/gittools/submodule-sync.sh at distclean
This commit is contained in:
parent
a47c97bb9f
commit
22c1470aca
5
wscript
5
wscript
|
@ -86,6 +86,11 @@ def _set_build_context_variant(board):
|
|||
continue
|
||||
c.variant = board
|
||||
|
||||
# run Tools/gittools/submodule-sync.sh to sync submodules as well at distclean
|
||||
@conf
|
||||
def distclean(ctx):
|
||||
subprocess.call(['Tools/gittools/submodule-sync.sh'])
|
||||
|
||||
def init(ctx):
|
||||
# Generate Task List, so that VS Code extension can keep track
|
||||
# of changes to possible build targets
|
||||
|
|
Loading…
Reference in New Issue