Add update command to project.py

pull/3067/head
Jimmy Brisson 2016-10-18 14:00:11 -05:00
parent 167ed2bc12
commit 8f19672530
1 changed files with 10 additions and 0 deletions

View File

@ -175,6 +175,11 @@ def main():
default=[],
help="Toolchain profile")
parser.add_argument("--update-packs",
dest="update_packs",
action="store_true",
default=False)
options = parser.parse_args()
# Print available tests in order and exit
@ -203,6 +208,11 @@ def main():
raise
exit(0)
if options.update_packs:
from tools.arm_pack_manager import Cache
cache = Cache(True, True)
cache.cache_descriptors()
# Clean Export Directory
if options.clean:
if exists(EXPORT_DIR):