5

Ensure that `go mod tidy` doesn't remove too much

 1 year ago
source link: https://gitlab.com/dr.sybren/gcodetool/-/commit/95aa9a8923277be80796b821d2cc84ee4e58892d
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Ensure that `go mod tidy` doesn't remove too much

- Add `magefiles/tools/tools.go` to import packages we want to keep around.
  The file itself is never built, but it's still seen by `go mod tidy`.
- Instead of running the `go-winres` executable, run the package with
  `go run`. That way it doesn't need to be installed in order to run it.

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK