summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2022-07-28 18:34:29 +0200
committerPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2022-07-28 18:34:29 +0200
commit3bf7794edf280562631b6a446024b815cc4b9630 (patch)
treea5528ee883596f3a1ea08da3f2d49ea9bd3d94e6 /bin
parent72f2320ca52ee90d8d243aad9e8670883482eb09 (diff)
downloadjustbuild-3bf7794edf280562631b6a446024b815cc4b9630.tar.gz
Add setup-env option to just-mr
Diffstat (limited to 'bin')
-rwxr-xr-xbin/just-mr.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/bin/just-mr.py b/bin/just-mr.py
index 2e088279..73b9b455 100755
--- a/bin/just-mr.py
+++ b/bin/just-mr.py
@@ -762,7 +762,7 @@ def main():
if not args:
fail("Usage: %s <cmd> [<args>]" % (sys.argv[0], ))
- if args[0] == "setup":
+ if args[0] == "setup-env":
# Setup for interactive use, i.e., fetch the required repositories
# and generate an appropriate multi-repository configuration file.
# Store it in the CAS and print its path on stdout.
@@ -774,6 +774,11 @@ def main():
# correctly.
print(setup(config=config, args=args[1:], interactive=True))
return
+ if args[0] == "setup":
+ # Setup such that the main repository keeps its workspace given in
+ # the input config.
+ print(setup(config=config, args=args[1:]))
+ return
if args[0] == "build":
build(config=config, args=args[1:])
if args[0] == "install":