Commit 80bf21e
committed
Cover all modules of project in "umbrella" tasks
For the convenience of the developer, some "umbrella" tasks have been defined, which run all the specific tasks of a basic class:
- `check`: run all automated checks for issues
- `fix`: make automated corrections for issues where possible
The project contains multiple Go modules in different folders:
- `github.com/arduino/arduino-lint`: root folder
- `github.com/arduino/arduino-lint/docsgen`: docsgen subfolder
- `github.com/arduino/arduino-lint/ruledocsgen`: ruledocsgen subfolder
`go` commands are applied to the module in the current working directory. The tasks are configured so that the working directory can be specified, defaulting to the root.
Previously, the "umbrella" tasks only ran the `go:*` tasks with the default, meaning only the
`github.com/arduino/arduino-lint` module was covered by these tasks. This is contrary to the intended purpose of these
"umbrella" tasks, which is to allow the developer to run a couple of standardized commands to find or fix all problems,
trading efficiency for convenience.1 parent b77cc0f commit 80bf21e
1 file changed
+33
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
58 | 61 | | |
59 | 62 | | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
60 | 69 | | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
61 | 76 | | |
62 | 77 | | |
63 | 78 | | |
| |||
72 | 87 | | |
73 | 88 | | |
74 | 89 | | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
75 | 100 | | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
76 | 107 | | |
| 108 | + | |
| 109 | + | |
77 | 110 | | |
78 | 111 | | |
79 | 112 | | |
| |||
0 commit comments