-
Notifications
You must be signed in to change notification settings - Fork 269
Closed
Labels
featureNew feature or requestNew feature or request
Description
Let's consider a simple case
{
"packages": [ "..."],
"env": { "...": "..." },
"shell": {
"scripts": {
"start": [
"bash ./check_something.sh",
"bash ./do_some_long_and_verbose_task.sh"
]
}
}
}
Right now if check_something.sh
exit with error, script do_some_long_task.sh
executed despite that.
If do_some_long_task
generate a lot of debug info in stdout, developer even not have a chance to see error from first script in terminal
Possible solution:
I expect that devbox check exit code of every script and stop execution on first exit with error.
In simple words - it would be cool if it will work like ./check_something.sh && ./do_some_long_task.sh
syntax.
(that can be used as workaround right now, but it less readable and not cross platform)
Metadata
Metadata
Assignees
Labels
featureNew feature or requestNew feature or request
Type
Projects
Status
Merged