mirror of
https://github.com/jbeder/yaml-cpp.git
synced 2025-09-07 12:01:16 +00:00

Including: - Remove WORKSPACE and upgrade to MODULE.bazel. - The integration tests were not included since the directory was misspelled. - Their header files were not accessible.
29 lines
552 B
Python
29 lines
552 B
Python
package(default_visibility = ["//test:__subpackages__"])
|
|
|
|
cc_library(
|
|
name = "mock_event_handler",
|
|
hdrs = ["mock_event_handler.h"],
|
|
strip_include_prefix = "//test",
|
|
)
|
|
|
|
cc_library(
|
|
name = "specexamples",
|
|
hdrs = ["specexamples.h"],
|
|
strip_include_prefix = "//test",
|
|
)
|
|
|
|
cc_test(
|
|
name = "test",
|
|
srcs = glob([
|
|
"*.cpp",
|
|
"node/*.cpp",
|
|
]),
|
|
deps = [
|
|
":mock_event_handler",
|
|
":specexamples",
|
|
"//:yaml-cpp",
|
|
"//:yaml-cpp_internal",
|
|
"@googletest//:gtest_main",
|
|
],
|
|
)
|