Serge Bazanski | bb7db92 | 2020-04-30 12:43:10 +0200 | [diff] [blame] | 1 | Copyright 2020 The Monogon Project Authors. |
| 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 | |
| 16 | From 16e16b82c44cf48f0752a74de83845263fd04fda Mon Sep 17 00:00:00 2001 |
| 17 | From: Lorenz Brun <lorenz@brun.one> |
| 18 | Date: Wed, 5 Feb 2020 16:37:42 +0100 |
| 19 | Subject: [PATCH] Build the plugins we need in pure mode |
| 20 | |
| 21 | --- |
| 22 | plugins/ipam/host-local/BUILD.bazel | 1 + |
| 23 | plugins/main/loopback/BUILD.bazel | 1 + |
| 24 | plugins/main/ptp/BUILD.bazel | 1 + |
| 25 | 3 files changed, 3 insertions(+) |
| 26 | |
| 27 | diff --git a/plugins/ipam/host-local/BUILD.bazel b/plugins/ipam/host-local/BUILD.bazel |
| 28 | index ce1f2d6..72817a6 100644 |
| 29 | --- a/plugins/ipam/host-local/BUILD.bazel |
| 30 | +++ b/plugins/ipam/host-local/BUILD.bazel |
| 31 | @@ -22,6 +22,7 @@ go_library( |
| 32 | go_binary( |
| 33 | name = "host-local", |
| 34 | embed = [":go_default_library"], |
| 35 | + pure = "on", |
| 36 | visibility = ["//visibility:public"], |
| 37 | ) |
| 38 | |
| 39 | diff --git a/plugins/main/loopback/BUILD.bazel b/plugins/main/loopback/BUILD.bazel |
| 40 | index c4d6e00..952bfb1 100644 |
| 41 | --- a/plugins/main/loopback/BUILD.bazel |
| 42 | +++ b/plugins/main/loopback/BUILD.bazel |
| 43 | @@ -19,6 +19,7 @@ go_library( |
| 44 | go_binary( |
| 45 | name = "loopback", |
| 46 | embed = [":go_default_library"], |
| 47 | + pure = "on", |
| 48 | visibility = ["//visibility:public"], |
| 49 | ) |
| 50 | |
| 51 | diff --git a/plugins/main/ptp/BUILD.bazel b/plugins/main/ptp/BUILD.bazel |
| 52 | index 512de12..2eb5d50 100644 |
| 53 | --- a/plugins/main/ptp/BUILD.bazel |
| 54 | +++ b/plugins/main/ptp/BUILD.bazel |
| 55 | @@ -23,6 +23,7 @@ go_library( |
| 56 | go_binary( |
| 57 | name = "ptp", |
| 58 | embed = [":go_default_library"], |
| 59 | + pure = "on", |
| 60 | visibility = ["//visibility:public"], |
| 61 | ) |
| 62 | |
| 63 | -- |
| 64 | 2.20.1 |