You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Licensed under the Apache License, Version 2.0 (the "License");
9
+
# you may not use this file except in compliance with the License.
10
+
# You may obtain a copy of the License at
11
+
#
12
+
# http://www.apache.org/licenses/LICENSE-2.0
13
+
#
14
+
# Unless required by applicable law or agreed to in writing, software
15
+
# distributed under the License is distributed on an "AS IS" BASIS,
16
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17
+
# See the License for the specific language governing permissions and
18
+
# limitations under the License.
19
+
#
20
+
# SPDX-License-Identifier: Apache-2.0
21
+
6
22
MAKEFLAGS=--warn-undefined-variables
7
23
# /bin/sh is dash on Debian which does not support all features of ash/bash
8
24
# to fix that we use /bin/bash only on Debian to not break Alpine
@@ -90,7 +106,7 @@ check-license-headers: FORCE install-addlicense
90
106
@printf "\e[1;36m>> addlicense --check\e[0m\n"
91
107
@addlicense --check -- $(patsubst$(shell awk '$$1 == "module" {print $$2}' go.mod)%,.%/*.go,$(shell go list ./...))
92
108
93
-
check-dependency-licenses: FORCE installgo-licence-detector
109
+
check-dependency-licenses: FORCE install-go-licence-detector
94
110
@printf "\e[1;36m>> go-licence-detector\e[0m\n"
95
111
@go list -m -mod=readonly -json all | go-licence-detector -includeIndirect -rules .license-scan-rules.json -overrides .license-scan-overrides.jsonl
96
112
@@ -113,7 +129,7 @@ help: FORCE
113
129
@printf "\n"
114
130
@printf "\e[1mPrepare\e[0m\n"
115
131
@printf " \e[36minstall-golangci-lint\e[0m Install golangci-lint required by run-golangci-lint/static-check\n"
116
-
@printf " \e[36minstall-go-licence-detector\e[0m Installgo-licence-detector required by check-dependency-licenses/static-check\n"
132
+
@printf " \e[36minstall-go-licence-detector\e[0m Install-go-licence-detector required by check-dependency-licenses/static-check\n"
117
133
@printf " \e[36minstall-addlicense\e[0m Install addlicense required by check-license-headers/license-headers/static-check\n"
118
134
@printf " \e[36mprepare-static-check\e[0m Install any tools required by static-check. This is used in CI before dropping privileges, you should probably install all the tools using your package manager\n"
119
135
@printf " \e[36minstall-controller-gen\e[0m Install controller-gen required by static-check and build-all. This is used in CI before dropping privileges, you should probably install all the tools using your package manager\n"
0 commit comments