Skip to content

Commit

Permalink
[internal] Update code comment/docs, remove unused constant. (pantsbu…
Browse files Browse the repository at this point in the history
  • Loading branch information
asherf authored Dec 20, 2021
1 parent db9636d commit c2d654d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions build-support/bin/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
We want to allow direct invocation of scripts for these reasons:
1) Consistency with how we invoke Bash scripts, which notably may _not_ be ran via `./pants run`.
2) More ergonomic command line arguments, e.g. `./build-support/bin/generate_travis_yaml.py [args]`,
rather than `./pants run build-support/bin:generate_travis_yaml -- [args]`.
2) More ergonomic command line arguments, e.g. `./build-support/bin/generate_github_workflows.py [args]`,
rather than `./pants run build-support/bin:generate_github_workflows -- [args]`.
3) Avoid undesired dependencies on Pants for certain scripts.
Callers of this file, however, are free to dogfood Pants as they'd like, and any script
Expand All @@ -25,7 +25,6 @@

_SCRIPT_START_TIME = time.time()

_CLEAR_LINE = "\x1b[K"
_COLOR_BLUE = "\x1b[34m"
_COLOR_RED = "\x1b[31m"
_COLOR_GREEN = "\x1b[32m"
Expand Down

0 comments on commit c2d654d

Please sign in to comment.