|
6 | 6 | DEFAULT_GO_MODULE_PATH: ./
|
7 | 7 | DEFAULT_GO_PACKAGES:
|
8 | 8 | sh: |
|
9 |
| - echo $(cd {{default .DEFAULT_GO_MODULE_PATH .GO_MODULE_PATH}} && go list ./... | tr '\n' ' ' || echo '"ERROR: Unable to discover Go packages"') |
| 9 | + echo $( |
| 10 | + cd {{default .DEFAULT_GO_MODULE_PATH .GO_MODULE_PATH}} && |
| 11 | + go list ./... | tr '\n' ' ' || |
| 12 | + echo '"ERROR: Unable to discover Go packages"' |
| 13 | + ) |
10 | 14 | LDFLAGS:
|
11 | 15 |
|
12 | 16 | tasks:
|
|
49 | 53 | cmds:
|
50 | 54 | - |
|
51 | 55 | if ! which ec &>/dev/null; then
|
52 |
| - echo "ec not found or not in PATH. Please install: https://github.com/editorconfig-checker/editorconfig-checker#installation" |
| 56 | + echo "ec not found or not in PATH." |
| 57 | + echo "Please install: https://github.com/editorconfig-checker/editorconfig-checker#installation" |
53 | 58 | exit 1
|
54 | 59 | fi
|
55 | 60 | - ec
|
@@ -146,7 +151,8 @@ tasks:
|
146 | 151 | # npx --call uses the native shell, which makes it too difficult to use npx for this application on Windows,
|
147 | 152 | # so the Windows user is required to have markdown-link-check installed and in PATH.
|
148 | 153 | if ! which markdown-link-check &>/dev/null; then
|
149 |
| - echo "markdown-link-check not found or not in PATH. Please install: https://github.com/tcort/markdown-link-check#readme" |
| 154 | + echo "markdown-link-check not found or not in PATH." |
| 155 | + echo "Please install: https://github.com/tcort/markdown-link-check#readme" |
150 | 156 | exit 1
|
151 | 157 | fi
|
152 | 158 | # Default behavior of the task on Windows is to exit the task when the first broken link causes a non-zero
|
@@ -254,7 +260,8 @@ tasks:
|
254 | 260 | echo "Licensed does not have Windows support."
|
255 | 261 | echo "Please use Linux/macOS or download the dependencies cache from the GitHub Actions workflow artifact."
|
256 | 262 | else
|
257 |
| - echo "licensed not found or not in PATH. Please install: https://github.com/github/licensed#as-an-executable" |
| 263 | + echo "licensed not found or not in PATH." |
| 264 | + echo "Please install: https://github.com/github/licensed#as-an-executable" |
258 | 265 | fi
|
259 | 266 | exit 1
|
260 | 267 | fi
|
|
0 commit comments