You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -258,6 +258,12 @@ rules implemented on our `Makefile` as well as CI will use the
258
258
locally before submitting any PRs to have a quicker feedback instead
259
259
of waiting for a CI failure.
260
260
261
+
### Keeping Go module files tidy
262
+
The Elastic Agent repository includes additional Go modules (e.g. `wrapper/windows/archive-proxy`) that import the main `elastic-agent` module. This requires keeping all `go.mod` files in sync whenever dependencies change. There is a dedicated `mage tidy` target that recursively runs `go mod tidy` across the entire repo. This is now handled automatically in the following targets:
263
+
- `mage check`
264
+
- `mage notice`
265
+
- `mage update`
266
+
261
267
### Generating the `NOTICE.txt` and `NOTICE-fips.txt` when updating/adding dependencies
262
268
To do so, just run `mage notice`, this is also part of the `make
0 commit comments