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.
- Host: GitHub
- URL: https://github.com/actionless/shellcheck_makefile
- Owner: actionless
- License: gpl-3.0
- Created: 2024-09-10T02:37:45.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-12-19T10:44:12.000Z (over 1 year ago)
- Last Synced: 2025-11-27T20:12:36.436Z (6 months ago)
- Language: Python
- Homepage:
- Size: 44.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
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
```