|
| 1 | +# Copyright 2025 The Bazel Authors. All rights reserved. |
| 2 | +# |
| 3 | +# Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | +# you may not use this file except in compliance with the License. |
| 5 | +# You may obtain a copy of the License at |
| 6 | +# |
| 7 | +# http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | +# |
| 9 | +# Unless required by applicable law or agreed to in writing, software |
| 10 | +# distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | +# See the License for the specific language governing permissions and |
| 13 | +# limitations under the License. |
| 14 | + |
| 15 | +module( |
| 16 | + name = "test_external_project", |
| 17 | + version = "0", |
| 18 | + compatibility_level = 0, |
| 19 | +) |
| 20 | + |
| 21 | +local_path_override( |
| 22 | + module_name = "rules_pkg", |
| 23 | + path = "../../../", |
| 24 | +) |
| 25 | + |
| 26 | +bazel_dep(name = "rules_license", version = "1.0.0") |
| 27 | +bazel_dep(name = "rules_python", version = "1.0.0") |
| 28 | +bazel_dep(name = "bazel_skylib", version = "1.7.1") |
| 29 | + |
| 30 | +######################################### |
| 31 | +# Do not update to newer versions until you need a specific new feature. |
| 32 | + |
| 33 | +# Only for development |
| 34 | +#bazel_dep(name = "platforms", version = "0.0.10", dev_dependency = True) |
| 35 | +#bazel_dep(name = "rules_cc", version = "0.0.17", dev_dependency = True) |
| 36 | +#bazel_dep(name = "stardoc", version = "0.7.2", dev_dependency = True) |
| 37 | +# |
| 38 | +## Find the system rpmbuild if one is available. |
| 39 | +#find_rpm = use_extension("//toolchains/rpm:rpmbuild_configure.bzl", "find_system_rpmbuild_bzlmod", dev_dependency = True) |
| 40 | +#use_repo(find_rpm, "rules_pkg_rpmbuild") |
| 41 | +# |
| 42 | +#register_toolchains( |
| 43 | +# "@rules_pkg_rpmbuild//:all", |
| 44 | +# dev_dependency = True, |
| 45 | +#) |
0 commit comments