Age | Commit message (Collapse) | Author |
|
Remove the --env argument, which was compulsory for all subcommands, and
replace it with a --source-dir argument, only for those subcommands that
need it.
We do this for 2 reasons:
* Not all subcommands care about the source directory (e.g. llvm.py
build won't need it)
* llvm.py should not have any knowledge about environments - that
concept only makes sense for the helper scripts. llvm.py should
instead receive very specific info about where the source and build
directories are.
Change-Id: Iffaeef95559e8923bd883d5c51fed8c306287280
|
|
The --repos flag is not used by all the subcommands, so there's no
reason for it to be compulsory. This commit moves it from the generic
llvm.py options to the options for the projects subcommand, where it is
only required when adding subprojects.
Change-Id: I7ad10bda6e1b4efeb594b09e5fda200850d99c07
|
|
git-push is uninteresting and nobody uses it. Instead, we could use a
wrapper over llvm.py push, which pushes the current branch for all
enabled subprojects.
Change-Id: I558bc41362d3ed14efdbe269041b467f5789f28e
|