1*bcb5dc79SHONG Yifanworkspace(name = "bazel_skylib") 2*bcb5dc79SHONG Yifan 3*bcb5dc79SHONG Yifanload(":workspace.bzl", "bazel_skylib_workspace") 4*bcb5dc79SHONG Yifan 5*bcb5dc79SHONG Yifanbazel_skylib_workspace() 6*bcb5dc79SHONG Yifan 7*bcb5dc79SHONG Yifan### INTERNAL ONLY - lines after this are not included in the release packaging. 8*bcb5dc79SHONG Yifan# Lines below are for tests, documentation generation, and distribution archive 9*bcb5dc79SHONG Yifan# generation only, and should thus not be included by dependencies on bazel-skylib. 10*bcb5dc79SHONG Yifan 11*bcb5dc79SHONG Yifanload("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") 12*bcb5dc79SHONG Yifanload("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe") 13*bcb5dc79SHONG Yifan 14*bcb5dc79SHONG Yifanlocal_repository( 15*bcb5dc79SHONG Yifan name = "bazel_skylib_gazelle_plugin", 16*bcb5dc79SHONG Yifan path = "gazelle", 17*bcb5dc79SHONG Yifan) 18*bcb5dc79SHONG Yifan 19*bcb5dc79SHONG Yifanload("@bazel_skylib_gazelle_plugin//:workspace.bzl", "bazel_skylib_gazelle_plugin_workspace") 20*bcb5dc79SHONG Yifan 21*bcb5dc79SHONG Yifanbazel_skylib_gazelle_plugin_workspace() 22*bcb5dc79SHONG Yifan 23*bcb5dc79SHONG Yifanload("@bazel_skylib_gazelle_plugin//:setup.bzl", "bazel_skylib_gazelle_plugin_setup") 24*bcb5dc79SHONG Yifan 25*bcb5dc79SHONG Yifanbazel_skylib_gazelle_plugin_setup() 26*bcb5dc79SHONG Yifan 27*bcb5dc79SHONG Yifanmaybe( 28*bcb5dc79SHONG Yifan http_archive, 29*bcb5dc79SHONG Yifan name = "io_bazel_stardoc", 30*bcb5dc79SHONG Yifan sha256 = "62bd2e60216b7a6fec3ac79341aa201e0956477e7c8f6ccc286f279ad1d96432", 31*bcb5dc79SHONG Yifan urls = [ 32*bcb5dc79SHONG Yifan "https://mirror.bazel.build/github.com/bazelbuild/stardoc/releases/download/0.6.2/stardoc-0.6.2.tar.gz", 33*bcb5dc79SHONG Yifan "https://github.com/bazelbuild/stardoc/releases/download/0.6.2/stardoc-0.6.2.tar.gz", 34*bcb5dc79SHONG Yifan ], 35*bcb5dc79SHONG Yifan) 36*bcb5dc79SHONG Yifan 37*bcb5dc79SHONG Yifanload("@io_bazel_stardoc//:setup.bzl", "stardoc_repositories") 38*bcb5dc79SHONG Yifan 39*bcb5dc79SHONG Yifanstardoc_repositories() 40*bcb5dc79SHONG Yifan 41*bcb5dc79SHONG Yifanload("@rules_jvm_external//:repositories.bzl", "rules_jvm_external_deps") 42*bcb5dc79SHONG Yifan 43*bcb5dc79SHONG Yifanrules_jvm_external_deps() 44*bcb5dc79SHONG Yifan 45*bcb5dc79SHONG Yifanload("@rules_jvm_external//:setup.bzl", "rules_jvm_external_setup") 46*bcb5dc79SHONG Yifan 47*bcb5dc79SHONG Yifanrules_jvm_external_setup() 48*bcb5dc79SHONG Yifan 49*bcb5dc79SHONG Yifanload("@io_bazel_stardoc//:deps.bzl", "stardoc_external_deps") 50*bcb5dc79SHONG Yifan 51*bcb5dc79SHONG Yifanstardoc_external_deps() 52*bcb5dc79SHONG Yifan 53*bcb5dc79SHONG Yifanload("@stardoc_maven//:defs.bzl", stardoc_pinned_maven_install = "pinned_maven_install") 54*bcb5dc79SHONG Yifan 55*bcb5dc79SHONG Yifanstardoc_pinned_maven_install() 56*bcb5dc79SHONG Yifan 57*bcb5dc79SHONG Yifanmaybe( 58*bcb5dc79SHONG Yifan http_archive, 59*bcb5dc79SHONG Yifan name = "rules_pkg", 60*bcb5dc79SHONG Yifan sha256 = "8f9ee2dc10c1ae514ee599a8b42ed99fa262b757058f65ad3c384289ff70c4b8", 61*bcb5dc79SHONG Yifan urls = [ 62*bcb5dc79SHONG Yifan "https://mirror.bazel.build/github.com/bazelbuild/rules_pkg/releases/download/0.9.1/rules_pkg-0.9.1.tar.gz", 63*bcb5dc79SHONG Yifan "https://github.com/bazelbuild/rules_pkg/releases/download/0.9.1/rules_pkg-0.9.1.tar.gz", 64*bcb5dc79SHONG Yifan ], 65*bcb5dc79SHONG Yifan) 66*bcb5dc79SHONG Yifan 67*bcb5dc79SHONG Yifanload("@rules_pkg//:deps.bzl", "rules_pkg_dependencies") 68*bcb5dc79SHONG Yifan 69*bcb5dc79SHONG Yifanrules_pkg_dependencies() 70*bcb5dc79SHONG Yifan 71*bcb5dc79SHONG Yifanhttp_archive( 72*bcb5dc79SHONG Yifan name = "rules_testing", 73*bcb5dc79SHONG Yifan sha256 = "02c62574631876a4e3b02a1820cb51167bb9cdcdea2381b2fa9d9b8b11c407c4", 74*bcb5dc79SHONG Yifan strip_prefix = "rules_testing-0.6.0", 75*bcb5dc79SHONG Yifan url = "https://github.com/bazelbuild/rules_testing/releases/download/v0.6.0/rules_testing-v0.6.0.tar.gz", 76*bcb5dc79SHONG Yifan) 77*bcb5dc79SHONG Yifan 78*bcb5dc79SHONG Yifanload("//lib:unittest.bzl", "register_unittest_toolchains") 79*bcb5dc79SHONG Yifanload("//tests/directory:external_directory_tests.bzl", "external_directory_tests") 80*bcb5dc79SHONG Yifan 81*bcb5dc79SHONG Yifanexternal_directory_tests(name = "external_directory_tests") 82*bcb5dc79SHONG Yifan 83*bcb5dc79SHONG Yifanregister_unittest_toolchains() 84