SIGN IN SIGN UP

chore(operations): Add shellcheck to CI and correct scripts (#2482)

* Add shellcheck to CI and local test suite

Signed-off-by: MOZGIII <mike-n@narod.ru>

* Correct .editorconfig for Makefile

Signed-off-by: MOZGIII <mike-n@narod.ru>

* Correct and restyle scripts

I went over each of the scripts to fix shellcheck offenses and manual
findings. The bash code style was also unified.

Some scripts have been altered to implement broader concerns - for instance
the `check-fmt` script.

Signed-off-by: MOZGIII <mike-n@narod.ru>

* Apply `make fmt`

Signed-off-by: MOZGIII <mike-n@narod.ru>

* Enable debug output for check-fmt and fmt scripts

Signed-off-by: MOZGIII <mike-n@narod.ru>

* Correct the target-graph makefile target

Signed-off-by: MOZGIII <mike-n@narod.ru>

* Eliminate useless cat at distribution/msi/build.sh

Signed-off-by: MOZGIII <mike-n@narod.ru>

* Correct shellcheck findings at distribution/install.sh

This file requires a proper manual audit, which I didn't conduct yet.

Signed-off-by: MOZGIII <mike-n@narod.ru>

* Work around the issue with check-fmt at Github Actions

Signed-off-by: MOZGIII <mike-n@narod.ru>

* Work around the issue with check-version at Github Actions

Signed-off-by: MOZGIII <mike-n@narod.ru>
M
MOZGIII committed
3e4360a2db28b1837e49933e3a6a23b29f97b136
Parent: 7008509
Committed by GitHub <noreply@github.com> on 5/5/2020, 8:32:12 PM