-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathBUILD.bazel
41 lines (36 loc) · 1.49 KB
/
BUILD.bazel
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# The package rule declares this directory as a Bazel package
# which scopes targets defined in this Build file under this package.
# The visibility parameter declares which packages can call targets
# in this package. In this case, we're saying anyone can call these targets.
# See https://docs.bazel.build/versions/master/be/functions.html#package
package(default_visibility = ["//visibility:public"])
load("@io_bazel_rules_k8s//k8s:objects.bzl", "k8s_objects")
# ts_library and ng_module use the `//:tsconfig.json` target
# by default. This alias allows omitting explicit tsconfig
# attribute, and uses //js-client/src:tsconfig.json whenever
# //:tsconfig.json is called
# See https://docs.bazel.build/versions/master/be/general.html#alias
alias(
name = "tsconfig.json",
actual = "//js-client/src:tsconfig.json",
)
k8s_objects(
name = "bazel_demo_k8s",
objects = [
"//java-spring-boot:k8s",
"//js-client:k8s",
]
)