Skip to content
This repository was archived by the owner on Oct 22, 2023. It is now read-only.

Latest commit

 

History

History
33 lines (20 loc) · 1.07 KB

File metadata and controls

33 lines (20 loc) · 1.07 KB

shellcheck-bundle

Build Status License

A bundle for Batect that provides a task to lint shell scripts with ShellCheck.

Usage

Setup

Add the following to your batect.yml:

include:
  - type: git
    repo: https://github.com/batect/shellcheck-bundle.git
    ref: XXX # Replace with latest version from https://github.com/batect/shellcheck-bundle/releases

Tasks

lint:shell

Runs ShellCheck on all shell scripts in the project directory.

Recursively searches for any files ending in .sh.

Exits with a non-zero status code if any issues are found.

Development

Run ./batect --list-tasks to see a list of available tasks for this project.