Skip to content

Commit aef71ce

Browse files
theotherjimmyc1728p9
authored andcommitted
Add update command to project.py
1 parent bb55470 commit aef71ce

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

tools/project.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,11 @@ def main():
175175
default=[],
176176
help="Toolchain profile")
177177

178+
parser.add_argument("--update-packs",
179+
dest="update_packs",
180+
action="store_true",
181+
default=False)
182+
178183
options = parser.parse_args()
179184

180185
# Print available tests in order and exit
@@ -203,6 +208,11 @@ def main():
203208
raise
204209
exit(0)
205210

211+
if options.update_packs:
212+
from tools.arm_pack_manager import Cache
213+
cache = Cache(True, True)
214+
cache.cache_descriptors()
215+
206216
# Clean Export Directory
207217
if options.clean:
208218
if exists(EXPORT_DIR):

0 commit comments

Comments
 (0)