1
0
Fork 0
mirror of https://github.com/Neargye/magic_enum.git synced 2026-01-09 23:34:23 +00:00
Commit graph

1 commit

Author SHA1 Message Date
FelixDuvalletKodiak
f3b4a01ce2
Add support for bazel (#56)
* Add support for bazel

Bazel support for the magic_enum repository would help others using
bazel integrate this library into their projects.

This PR adds a BUILD file which enables magic_enum to be imported
seamlessly into other WORKSPACE files without having to write a custom
BUILD file.

It also adds bazel binaries & tests to enable running them via bazel
locally:

   export CC=clang ; bazel build //... ; bazel test //... ; bazel run //:example

Finally, bazel compilation artifacts are added to the gitignore file.

* Update BUILD file & specify http_archive in README

* Lint BUILD file
2020-10-08 10:10:15 +03:00