Skip to content

Commit

Permalink
chore: minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
aignas committed Oct 26, 2023
1 parent 1e977fe commit f8c63b5
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
/bazel-*
/tools/bin/
bazel-*
user.bazelrc
8 changes: 5 additions & 3 deletions MODULE.bazel
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
module(
name = "rules_shellcheck",
version = "0.0.0",
version = "0.2.4",
compatibility_level = 1,
)

shellcheck_dependencies = use_extension("@rules_shellcheck//:extensions.bzl", "shellcheck_dependencies")
bazel_dep(name = "platforms", version = "0.0.7")

deps = use_extension("//internal:extensions.bzl", "shellcheck_dependencies")
use_repo(
shellcheck_dependencies,
deps,
"shellcheck_darwin_amd64",
"shellcheck_linux_amd64",
"shellcheck_linux_arm64",
Expand Down
13 changes: 13 additions & 0 deletions examples/released_example/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
module(
name = "released_example",
version = "0.0.0",
compatibility_level = 1,
)

bazel_dep(name = "rules_shellcheck", version = "0.2.3")
# For now one has to do the following override
archive_override(
module_name = "rules_shellcheck",
urls = ["https://github.com/aignas/rules_shellcheck/releases/download/0.2.3/rules_shellcheck-0.2.3.tar.gz"],
integrity = "sha256-e4XzyaZ58fcuJWSx3LQU9jDTaW3dhN2Qyc4uWw/3of4=",
)
File renamed without changes.

0 comments on commit f8c63b5

Please sign in to comment.