caarlos0-graveyard / shcheck

easily bind shellcheck and shfmt to your CI, so your shellscripts can be checked.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

shcheck

A tool to easily bind shellcheck and shfmt to your CI, so your shellscripts can be checked.

This project adheres to the Contributor Covenant code of conduct. By participating, you are expected to uphold this code. We appreciate your contribution. Please refer to our contributing guidelines.

Release Software License Travis Coverage Status Go Doc Go Report Card SayThanks.io Powered By: GoReleaser

Usage

Just add it to your travis.yml:

script:
  - curl -sL https://git.io/shcheck | bash -s

You can also pass files and folders to be ignored, like this:

script:
  - curl -sL https://git.io/shcheck | bash -s -f -- --ignore=somefile.sh --ignore='folder/**/*'

Or with Docker:

docker run --rm -v `pwd`:/scripts --workdir=/scripts caarlos0/shcheck

About

easily bind shellcheck and shfmt to your CI, so your shellscripts can be checked.

License:MIT License


Languages

Language:Go 77.3%Language:Makefile 11.0%Language:Shell 9.0%Language:Dockerfile 2.7%