Closed iynere closed 4 years ago
Something like https://stackoverflow.com/a/21189044 might come in handy here, but I'm hesitant to recommend it. I think using another common language like Python might need to be a stepping stone here. Otherwise I'm not sure what the best solution is. Looks like this has been done in https://github.com/CircleCI-Public/orb-tools-orb/pull/79, so we could port the work from that to here.
Addressed by Orb pack command by relocating shell scripts outside the yaml file.
the orb is currently less useful than it could be, at least w.r.t orb development, because most shell scripts in an orb repo exist within the orb source code, in
run
blocks.with some smart yaml / string parsing, this orb should be able to do something like :
run
blocks that don't have ashell: something
key where thesomething
is a non-shell-script-langrun
blocks to filesshellcheck/check
all those files