aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Le Brun <laurentlb@gmail.com>2020-04-15 12:57:49 +0200
committerGitHub <noreply@github.com>2020-04-15 12:57:49 +0200
commit560d7b2359aecb066d81041cb532b82d7354561b (patch)
treec669b47c25bf279976328ce06006e4f290173ade
parentfeb52960ebd8797421b599194ad6ac7da3fc7600 (diff)
downloadbazel-skylib-560d7b2359aecb066d81041cb532b82d7354561b.tar.gz
Add license and copyright notice (#245)
-rw-r--r--rules/select_file.bzl14
-rw-r--r--tests/select_file/BUILD2
2 files changed, 16 insertions, 0 deletions
diff --git a/rules/select_file.bzl b/rules/select_file.bzl
index 0ae08fa..f359e43 100644
--- a/rules/select_file.bzl
+++ b/rules/select_file.bzl
@@ -1,3 +1,17 @@
+# Copyright 2020 The Bazel Authors. All rights reserved.
+#
+# 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
+#
+# http://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.
+
"""
select_file() build rule implementation.
diff --git a/tests/select_file/BUILD b/tests/select_file/BUILD
index e795502..a498a1e 100644
--- a/tests/select_file/BUILD
+++ b/tests/select_file/BUILD
@@ -1,6 +1,8 @@
load("//rules:select_file.bzl", "select_file")
load("//rules:diff_test.bzl", "diff_test")
+licenses(["notice"])
+
filegroup(
name = "fg",
srcs = [