Skip to content

Commit bf427c4

Browse files
committed
fix boilerplate
On-behalf-of: @SAP [email protected]
1 parent 1bf49d4 commit bf427c4

File tree

4 files changed

+13
-2
lines changed

4 files changed

+13
-2
lines changed

hack/reconciling.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# https://github.com/kubermatic/reconciler
1717

1818
package: reconciling
19-
boilerplate: hack/boilerplate/boilerplate.generatego.txt
19+
boilerplate: hack/boilerplate/generated/boilerplate.go.txt
2020
resourceTypes:
2121
# kcp-dev/v1alpha1
2222
- { package: github.com/kcp-dev/kcp/sdk/apis/apis/v1alpha1, importAlias: kcpdevv1alpha1, resourceName: APIExport }

hack/update-codegen-sdk.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ set -euo pipefail
1919
cd $(dirname $0)/..
2020
source hack/lib.sh
2121

22-
BOILERPLATE_HEADER="$(realpath hack/boilerplate/boilerplate.generatego.txt)"
22+
BOILERPLATE_HEADER="$(realpath hack/boilerplate/generated/boilerplate.go.txt)"
2323
SDK_MODULE="github.com/kcp-dev/api-syncagent/sdk"
2424
APIS_PKG="$SDK_MODULE/apis"
2525

hack/verify-boilerplate.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,22 @@ source hack/lib.sh
2222
make --no-print-directory _tools/boilerplate
2323

2424
echo "Checking file boilerplates…"
25+
26+
set -x
27+
2528
_tools/boilerplate \
2629
-boilerplates hack/boilerplate \
2730
-exclude .github \
2831
-exclude internal/certificates/triple \
32+
-exclude sdk/applyconfiguration \
2933
-exclude sdk/clientset \
3034
-exclude sdk/informers \
3135
-exclude sdk/listers \
3236
-exclude test/crds
37+
38+
_tools/boilerplate \
39+
-boilerplates hack/boilerplate/generated \
40+
sdk/applyconfiguration \
41+
sdk/clientset \
42+
sdk/informers \
43+
sdk/listers

0 commit comments

Comments
 (0)