We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4f0fa8b + f6bc0eb commit 9145f6aCopy full SHA for 9145f6a
Taskfile.yml
@@ -10,17 +10,14 @@ vars:
10
DIST_DIR: "dist"
11
# Path of the project's primary Go module:
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
- )
+ DEFAULT_GO_PACKAGES: |
+ $( \
+ go list ./... | \
+ grep --invert-match 'github.com/arduino/arduino-lint/internal/rule/schema/schemadata' | \
+ tr '\n' ' ' \
+ || \
+ echo '"ERROR: Unable to discover Go packages"' \
+ )
24
# build vars
25
COMMIT:
26
sh: echo "$(git log --no-show-signature -n 1 --format=%h)"
0 commit comments