-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding Optional bats-core Extensions (#10)
* Updating README to use newest tag of bazel-bats. Moving SHA into its own var, similar to the version number. * Updating `bazel_bats_dependencies()`'s default version value (and corresponding SHA) to 1.7.0 (latest bats-core version). Updating WORKSPACE to be more explicit in versions used. Adding param checking to ensure that the SHA was passed in. Updating README to show explicit version passing. * Extending `bazel_bats_dependencies()` to also (optionally) allow for adding in bats extensions, bats-assert and bats-support (bats-support is required for bats-assert). The decision to make these optional additions was made to not force extra dependencies on any downstream library that does not make use of them (dep management is good). The `bats_test()` rule will be updated in a follow-up PR. * Fixing missing comma. * Slight cleanup on `if`s. * * More better words (improving error messages). * * Fixing nit. * * Fixing nit 2. * * Fixing nit 3. * * More nit fix.
- Loading branch information
1 parent
93714c7
commit 2bfd658
Showing
2 changed files
with
70 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters