google / effcee

Effcee is a C++ library for stateful pattern matching of strings, inspired by LLVM's FileCheck
Apache License 2.0
93 stars 39 forks source link

Add Bazel build rules. #30

Closed dnovillo closed 5 years ago

dnovillo commented 5 years ago

This adds support for building effcee with Bazel (https://bazel.build).

It automatically pulls the googletest and re2 repositories when building with Bazel. I did not add a sha256 attribute to fix the version of the external repos to get, so by default this tracks top-of-master for those repos.

It's easy to fix the versions by adding the sha256 attribute that Bazel suggests when it starts.

dnovillo commented 5 years ago

@dneto0 could you please review this PR? I'm not able to add you to the reviewers list. Thanks.