Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I would suggest never doing that, because it makes it impossible, or at least very difficult, to:

1. Lint the code using ShellCheck, which IMO is essential for any shell

2. Run and test that code locally, or anywhere outside of the CI tool

It’s only marginally less convenient to externalise the code into a .sh file and load it in CI.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: