You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 18, 2021. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 18, 2021. It is now read-only.
I was experimenting with adding a set of validation commands to my cue configuration, in _tools.cue files. The commands they exec out to will return non-zero exit codes when those commands fail, but running them via the cue <cmd> runner eats those exit codes and always returns 0. Checking the code this doesn't appear to be something I can add to the print task.
I was experimenting with adding a set of validation commands to my cue configuration, in
_tools.cuefiles. The commands they exec out to will return non-zero exit codes when those commands fail, but running them via thecue <cmd>runner eats those exit codes and always returns 0. Checking the code this doesn't appear to be something I can add to theprinttask.cue/cmd/cue/cmd/custom.go
Lines 299 to 310 in 2b0e7cd
Is there a way of achieving this at present? Supporting passing through the exit codes would make integration of cue commands into pipelines easier.