Skip to content

Commit

Permalink
make default version v1.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jmelahman authored and filmil committed Nov 24, 2021
1 parent 2c0ca46 commit 5d08abf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ git_repository(
load("@bazel_bats//:deps.bzl", "bazel_bats_dependencies")
# version can be omitted, in which case the default is used.
bazel_bats_dependencies(version="v1.1.0")
bazel_bats_dependencies(version="v1.5.0")
```

In your `BUILD.bazel` file add the following:
Expand Down
3 changes: 1 addition & 2 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@ workspace(name = "bazel_bats")

load("@bazel_bats//:deps.bzl", "bazel_bats_dependencies")

bazel_bats_dependencies(version="v1.1.0")

bazel_bats_dependencies(version="v1.5.0")
4 changes: 2 additions & 2 deletions deps.bzl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# From:
# From:
# https://stackoverflow.com/questions/47192668/idiomatic-retrieval-of-the-bazel-execution-path#
load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository", "new_git_repository")

Expand All @@ -16,7 +16,7 @@ sh_binary(
)
"""

def bazel_bats_dependencies(version="v1.1.0"):
def bazel_bats_dependencies(version="v1.5.0"):
new_git_repository(
name = "bats_core",
remote = "https://github.com/bats-core/bats-core",
Expand Down

0 comments on commit 5d08abf

Please sign in to comment.