An open API service indexing awesome lists of open source software.

https://github.com/actionless/shellcheck_makefile

Small utility for applying Shellcheck on Makefiles. Depends only on shellcheck, make and python.
https://github.com/actionless/shellcheck_makefile

Last synced: 4 months ago
JSON representation

Small utility for applying Shellcheck on Makefiles. Depends only on shellcheck, make and python.

Awesome Lists containing this project

README

          

# shellcheck_makefile

Small utility for applying Shellcheck on Makefiles. Depends only on `shellcheck`, `make` and `python`.

```
usage: shellcheck_makefile [-h] [-s TARGET] [-l] [--shell SHELL] [-e CODE1,CODE2..] [-P SOURCEPATHS] [-x] [Makefile]

Makefile shellcheck

positional arguments:
Makefile path to Makefile to check

options:
-h, --help show this help message and exit
-s TARGET, --skip TARGET
make target to skip (arg could be used multiple times)
-l, --list list make targets
--shell SHELL make shell
-e CODE1,CODE2.., --exclude CODE1,CODE2..
Shellcheck: Exclude types of warnings
-P SOURCEPATHS, --source-path SOURCEPATHS
Shellcheck: Specify path when looking for sourced files ("SCRIPTDIR" for script's dir)
-x, --external-sources, --external
Shellcheck: allow external source-s
```