Skip to content
Snippets Groups Projects
Commit a78ec080 authored by Christian Dreher's avatar Christian Dreher
Browse files

Merge branch 'dev' of gitlab.com:ArmarX/meta/setup into dev

parents 6726ad74 d85e7c88
No related branches found
No related tags found
No related merge requests found
Pipeline #4321 passed
......@@ -220,6 +220,12 @@ You can also **execute** a custom command in each module's directory inside the
```bash
armarx-setup exec ls
armarx-setup exec "echo \$(pwd)"
armarx-setup exec "git status"
```
To get the **status** of each **git** repository in a nice table, run:
```bash
armarx-setup git status
```
......
......@@ -645,7 +645,10 @@ class Workspace:
def exec_in_module(module: Module):
if os.path.isdir(module.path):
commands.run(command, cwd=module.path)
try:
commands.run(command, cwd=module.path)
except error.CommandFailed as e:
console.print(e)
self.for_each_module_in_dependency_chain(exec_in_module)
def notify(self, title, body, icon):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment