Version 0.9.0
Changelog
- Added gmomck-matcher
mbo::testing::EqualsText
which compares text using line by line unified text diff. - Added gmock-matcher-modifier
mbo::testing::WithDropIndent
which modifiesEqualsText
so thatmbo::strings::DropIndent
will be applied to the expected text.
For Bazel MODULES.bazel
bazel_dep(name = "helly25_mbo", version = "0.9.0")
Using the provided LLVM
Copy llvm.MODULE.bazel to your repository's root directory and add the following line to your MODULES.bazel file or paste the whole contents into it.
include("//:llvm.MODULE.bazel")
For Bazel WORKSPACE
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "com_helly25_mbo",
url = "https://github.com/helly25/mbo/releases/download/0.9.0/mbo-0.9.0.tar.gz",
sha256 = "3c856c7f457cec9a59f89c48ff6f26966d6f4ef97a16cf7a96f4e612add6b72e",
strip_prefix = "mbo-0.9.0",
)
Initializing the required modules
The project depends on some additional external repositories that can be added
manually of by calling the support functions in the user' WORKSPACE file:
load("@com_helly25_mbo//bzl/workspace:load_modules.bzl", "helly25_mbo_load_modules")
helly25_mbo_load_modules()
load("@com_helly25_mbo//bzl/workspace:init_modules.bzl", "helly25_mbo_init_modules")
helly25_mbo_init_modules()
Initializing optional extra modules
The project further has some re-usable external components:
load("@com_helly25_mbo//bzl/workspace:load_extras.bzl", "helly25_mbo_load_extras")
helly25_mbo_load_extras() # Adds Hedron + LLVM
load("@com_helly25_mbo//bzl/workspace:init_extras.bzl", "helly25_mbo_init_extras")
helly25_mbo_init_extras() # Init Hedron + LLVM
load("@com_helly25_mbo//bzl/workspace:init_extras_llvm.bzl", "helly25_mbo_init_extras_llvm")
helly25_mbo_init_extras_llvm() # Init LLVM/Part 2
What's Changed
- Bump version from 0.8.0 to 0.8.1 by @helly25 in #145
- Added gmock-matcher EqualsText by @helly25 in #146
Full Changelog: 0.8.0...0.9.0