mirror of
https://github.com/denoland/deno.git
synced 2025-01-03 04:48:52 -05:00
Split up tools/sync_third_party
This is just encoding my actual workflow; not suggesting that this workflow is ideal. Previously I would edit sync_third_party.py each time I ran it.
This commit is contained in:
parent
7bdeee8997
commit
8693d0e0a7
4 changed files with 22 additions and 6 deletions
|
@ -1,17 +1,13 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
|
# 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:
|
# To update the deno_third_party git repo after running this, try the following:
|
||||||
# cd third_party
|
# 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 "%"
|
# xargs -I% git add -f --no-warn-embedded-repo "%"
|
||||||
|
|
||||||
import third_party
|
import third_party
|
||||||
import util
|
import util
|
||||||
|
|
||||||
util.enable_ansi_colors()
|
util.enable_ansi_colors()
|
||||||
|
|
||||||
third_party.run_yarn()
|
|
||||||
third_party.run_cargo()
|
|
||||||
third_party.run_pip()
|
|
||||||
third_party.run_gclient_sync()
|
third_party.run_gclient_sync()
|
6
tools/sync_node_modules.py
Executable file
6
tools/sync_node_modules.py
Executable file
|
@ -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()
|
6
tools/sync_python_modules.py
Executable file
6
tools/sync_python_modules.py
Executable file
|
@ -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()
|
8
tools/sync_rust_crates.py
Executable file
8
tools/sync_rust_crates.py
Executable file
|
@ -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()
|
Loading…
Reference in a new issue