diff options
-rwxr-xr-x | tools/sync_gclient.py (renamed from tools/sync_third_party.py) | 8 | ||||
-rwxr-xr-x | tools/sync_node_modules.py | 6 | ||||
-rwxr-xr-x | tools/sync_python_modules.py | 6 | ||||
-rwxr-xr-x | tools/sync_rust_crates.py | 8 |
4 files changed, 22 insertions, 6 deletions
diff --git a/tools/sync_third_party.py b/tools/sync_gclient.py index 8557c7b58..5da301359 100755 --- a/tools/sync_third_party.py +++ b/tools/sync_gclient.py @@ -1,17 +1,13 @@ #!/usr/bin/env python # Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. -# Run this script if you are changing Deno's dependencies. +# Run this script if you are changing //gclient_config.py # To update the deno_third_party git repo after running this, try the following: # cd third_party -# find . -type f | grep -v "\.git" | \ +# find v8 -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.run_yarn() -third_party.run_cargo() -third_party.run_pip() third_party.run_gclient_sync() diff --git a/tools/sync_node_modules.py b/tools/sync_node_modules.py new file mode 100755 index 000000000..5c5705d9a --- /dev/null +++ b/tools/sync_node_modules.py @@ -0,0 +1,6 @@ +#!/usr/bin/env python +# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +import third_party +import util +util.enable_ansi_colors() +third_party.run_yarn() diff --git a/tools/sync_python_modules.py b/tools/sync_python_modules.py new file mode 100755 index 000000000..0a40740f0 --- /dev/null +++ b/tools/sync_python_modules.py @@ -0,0 +1,6 @@ +#!/usr/bin/env python +# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +import third_party +import util +util.enable_ansi_colors() +third_party.run_pip() diff --git a/tools/sync_rust_crates.py b/tools/sync_rust_crates.py new file mode 100755 index 000000000..658207546 --- /dev/null +++ b/tools/sync_rust_crates.py @@ -0,0 +1,8 @@ +#!/usr/bin/env python +# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +# There is a magic tool which has no documentation. It is used to update rust +# crates in third_party. https://github.com/piscisaureus/gnargo +import third_party +import util +util.enable_ansi_colors() +third_party.run_cargo() |