diff --git a/tools/sync_third_party.py b/tools/sync_gclient.py similarity index 66% rename from tools/sync_third_party.py rename to tools/sync_gclient.py index 8557c7b58c50f3bd4ff1339547f4157b56079962..5da30135988d848516105e694c44eda859c833a8 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 0000000000000000000000000000000000000000..5c5705d9a23cde35be3897ef3cae829497903109 --- /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 0000000000000000000000000000000000000000..0a40740f023f6ce4169c6fb888c43952898c8ff1 --- /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 0000000000000000000000000000000000000000..658207546c3ca6ed43327d06d0131b6c33ba8685 --- /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()