deno/tools/sync_third_party.py
2018-10-23 16:29:46 +02:00

19 lines
522 B
Python
Executable file

#!/usr/bin/env python
# Copyright 2018 the Deno authors. All rights reserved. MIT license.
# Run this script if you are changing Deno's dependencies.
# To update the deno_third_party git repo after running this, try the following:
# cd third_party
# find . -type f | grep -v "\.git" | xargs -I% git add -f --no-warn-embedded-repo "%"
import third_party
import util
util.enable_ansi_colors()
third_party.fix_symlinks()
third_party.run_yarn()
third_party.run_cargo()
third_party.run_pip()
third_party.run_gclient_sync()