diff --git a/BUILD b/BUILD new file mode 100644 index 0000000..054d3f4 --- /dev/null +++ b/BUILD @@ -0,0 +1,22 @@ +# -*- python -*- + +# This makes +# +# #include "docopt.cpp/docopt.h" +# +# do the right thing, which is also as near as I can tell the +# recommended Bazel style (ie. prefixing the header with the +# library name.) +cc_library( + name = "docopt", + hdrs = ["docopt.h"], + srcs = [ + "docopt.h", + "docopt_value.h", + "docopt_util.h", + "docopt_private.h", + "docopt.cpp" + ], + include_prefix = "docopt.cpp", + visibility = ["//visibility:public"], +) diff --git a/WORKSPACE b/WORKSPACE new file mode 100644 index 0000000..e69de29