File tree Expand file tree Collapse file tree 1 file changed +8
-11
lines changed Expand file tree Collapse file tree 1 file changed +8
-11
lines changed Original file line number Diff line number Diff line change @@ -10,17 +10,14 @@ vars:
10
10
DIST_DIR : " dist"
11
11
# Path of the project's primary Go module:
12
12
DEFAULT_GO_MODULE_PATH : ./
13
- DEFAULT_GO_PACKAGES :
14
- sh : |
15
- echo $( \
16
- cd {{default .DEFAULT_GO_MODULE_PATH .GO_MODULE_PATH}} \
17
- && \
18
- go list ./... | \
19
- grep --invert-match 'github.com/arduino/arduino-lint/internal/rule/schema/schemadata' | \
20
- tr '\n' ' ' \
21
- || \
22
- echo '"ERROR: Unable to discover Go packages"' \
23
- )
13
+ DEFAULT_GO_PACKAGES : |
14
+ $( \
15
+ go list ./... | \
16
+ grep --invert-match 'github.com/arduino/arduino-lint/internal/rule/schema/schemadata' | \
17
+ tr '\n' ' ' \
18
+ || \
19
+ echo '"ERROR: Unable to discover Go packages"' \
20
+ )
24
21
# build vars
25
22
COMMIT :
26
23
sh : echo "$(git log --no-show-signature -n 1 --format=%h)"
You can’t perform that action at this time.
0 commit comments