mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-11-14 12:02:38 +08:00
waf: also run Tools/gittools/submodule-sync.sh at distclean
This commit is contained in:
1 parent
a47c97bb9f
commit
22c1470aca
1 file changed
+5
@@ -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
|
||||
|
||||
Reference in new issue
Block a user