0.8.0
Version 0.8.0
Changelog
- Renamed diff tooling options
ignore_space_changeto `ignore_trailing_space. - Renamed
lhs_regex_replaceandrhs_regex_replacetoregex_replace_lhsandregex_replace_rhsrespectively. - Added
regex_replace_lhsandregex_replace_rhsto bzl rules//mbo/diff:diff_testand//mbo/diff/tests:diff_test_test. - Renamed
mbo::diff::UnifiedDifftombo::diff::Diff. - Implemented diff algorithm
kDirectwhich performs a direct side by side comparison. - Renamed
//mbo/diff/unified_diff(_main).cc/hto//mbo/diff/diff(_main).cc/h. - Renamed
//mbo/diff:unified_diffto//mbo/diff. - Renamed
unifiedtocontextfor flags and attributes. - Reorganized files and rules in directory
mbo/diff.
For Bazel MODULES.bazel
bazel_dep(name = "helly25_mbo", version = "0.8.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.8.0/mbo-0.8.0.tar.gz",
sha256 = "d7eb28285e16ca6e5bea9261bad7064b12c457991fbb70f9fd65444649133dae",
strip_prefix = "mbo-0.8.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 2What's Changed
- Bump version from 0.7.0 to 0.7.1 by @helly25 in #137
- Always process lines. by @helly25 in #138
- Add regex_replace to diff_test by @helly25 in #139
- Shell quoting for diff_test by @helly25 in #140
- Implement direct diff algorithm by @helly25 in #141
- Finish renaming unified_diff to just diff by @helly25 in #142
- Add diff headers to direct algorithm by @helly25 in #143
- Reorg mbo/diff by @helly25 in #144
Full Changelog: 0.7.0...0.8.0