Skip to content

Releases: aignas/rules_shellcheck

0.2.3

26 Oct 00:48

Choose a tag to compare

Using Bzlmod with Bazel 6

NOTE: bzlmod support is still beta. APIs subject to change.

Add to your MODULE.bazel file:

bazel_dep(name = "rules_shellcheck", version = "0.2.3")

Legacy: using WORKSPACE

Paste this snippet into your WORKSPACE file:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "rules_shellcheck",
    sha256 = "7b85f3c9a679f1f72e2564b1dcb414f630d3696ddd84dd90c9ce2e5b0ff7a1fe",
    url = "https://github.com/aignas/rules_shellcheck/releases/download/0.2.3/rules_shellcheck-0.2.3.tar.gz",
)

load("@rules_shellcheck//:deps.bzl", "shellcheck_dependencies")

shellcheck_dependencies()

Full Changelog: 0.2.2...0.2.3

0.2.0

26 Oct 00:19

Choose a tag to compare

Using Bzlmod with Bazel 6

NOTE: bzlmod support is still beta and it is not yet available on BCR. APIs subject to change.

using WORKSPACE

Paste this snippet into your WORKSPACE file:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "rules_shellcheck",
    sha256 = "f6107dbac186b724700165f0c7c4ddbe2be586e73c905c6c524ee658c78b3da3",
    url = "https://github.com/aignas/rules_shellcheck/releases/download/0.2.0/rules_shellcheck-0.2.0.tar.gz",
)

load("@rules_shellcheck//:deps.bzl", "shellcheck_dependencies")

shellcheck_dependencies()

What's Changed

  • Reorganize examples to have one to test installation instructions by @aignas in #9
  • Add a simple test to ensure that we will propage the failure by @aignas in #12
  • bzlmod support by @aignas in #13
  • Add severity and format attributes by @luispadron in #20
  • docs: Add missing sha256 for http_archive to README by @vorburger in #18
  • Bump shellcheck version to 0.9.0 by @gmishkin in #19

New Contributors

Full Changelog: v0.1.1...0.2.0

v0.1.1

30 May 13:24
b756fb0

Choose a tag to compare

Removes the bulidifier usage from the main BUILD file in order to make this a zero dependency ruleset.

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "com_github_aignas_rules_shellcheck",
    sha256 = "",
    strip_prefix = "rules_shellcheck-0.1.1",
    url = "https://github.com/aignas/rules_shellcheck/archive/refs/tags/v0.1.1.tar.gz",
)

load("@com_github_aignas_rules_shellcheck//:deps.bzl", "shellcheck_dependencies")

shellcheck_dependencies()

v0.1.0

29 May 14:05
f96cf5c

Choose a tag to compare

v0.1.0 Pre-release
Pre-release

This is the initial release of this ruleset.