forked from denoland/deno
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
Showing
4 changed files
with
22 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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() |