Add ShellCheck tests and recommendations#1228
Add ShellCheck tests and recommendations#1228j-marz wants to merge 1 commit intodocker-mailserver:masterfrom
Conversation
|
In another project I am using the following snippet in a Makefile (could be added to the recently added lint target): |
|
I like the idea @fbartels - no need to update |
as shellcheck is performed in the checked out directory it will check scripts that are then only part of the build docker image. The concern is valid though for files pulled in by git submodules (bats for example). |
|
This was a good idea, but it seems to have stalled. Were there too many errors to fix? |
Unfortunately, I haven't been able to spend any more time on this PR. Happy for someone else to pick it up and take over. Otherwise i'll aim to continue the work later this year. |
|
@j-marz I refactored |
|
@j-marz I've got time now, will tend to it. |
|
Can be closed due to #1601 |
This is a WIP. The build will fail until all fixes are applied to shell scripts.
https://github.com/koalaman/shellcheck