File tree 4 files changed +25
-3
lines changed
4 files changed +25
-3
lines changed Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ function run_for_module {
166
166
}
167
167
168
168
function module_dirs() {
169
- echo " api pkg client/pkg client/internal/v2 client/v3 server etcdutl etcdctl tests tools/rw-heatmaps tools/testgrid-analysis ."
169
+ echo " api pkg client/pkg client/internal/v2 client/v3 server etcdutl etcdctl tests tools/mod tools/ rw-heatmaps tools/testgrid-analysis ."
170
170
}
171
171
172
172
# maybe_run [cmd...] runs given command depending on the DRY_RUN flag.
Original file line number Diff line number Diff line change
1
+ // Copyright 2024 The etcd 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
+ // As this directory implements the pattern for tracking tool dependencies as documented here:
16
+ // https://go.dev/wiki/Modules#how-can-i-track-tool-dependencies-for-a-module, it doesn't
17
+ // contain any valid go source code in the directory directly. This would break scripts for
18
+ // unit testing, golangci-lint, and coverage calculation.
19
+ //
20
+ // Thus, to ensure tools to run normally, we've added this empty file.
21
+
22
+ package mod
Original file line number Diff line number Diff line change 15
15
//go:build libs
16
16
17
17
// This file implements that pattern:
18
- // https://github.com/golang/go /wiki/Modules#how-can-i-track-tool-dependencies-for-a-module
18
+ // https://go.dev /wiki/Modules#how-can-i-track-tool-dependencies-for-a-module
19
19
// for etcd. Thanks to this file 'go mod tidy' does not removes dependencies.
20
20
21
21
package libs
Original file line number Diff line number Diff line change 15
15
//go:build tools
16
16
17
17
// This file implements that pattern:
18
- // https://github.com/golang/go /wiki/Modules#how-can-i-track-tool-dependencies-for-a-module
18
+ // https://go.dev /wiki/Modules#how-can-i-track-tool-dependencies-for-a-module
19
19
// for etcd. Thanks to this file 'go mod tidy' does not removes dependencies.
20
20
21
21
package tools
You can’t perform that action at this time.
0 commit comments