~samwhited/pkgzip

680555a391b0628d97f046ff72be3fd9a2ecb35e — Sam Whited 1 year, 6 months ago 4d6bfe4
Update readme with Makefile example
1 files changed, 11 insertions(+), 4 deletions(-)

M README.md
M README.md => README.md +11 -4
@@ 20,11 20,18 @@ import (
)
```

Then update your `go.mod` file with the specific version you want and run `go
generate tools.go` (or wherever you put the comment) in your Makefile or other
build tool configuration.
Then update your `go.mod` file with the specific version you want (use `go get
-u` to get the latest), and run `go generate tools.go` (or wherever you put the
comment) to generate your assets package.
It's probably easiest to do this from your Makefile like so:

For more information on managing tooling with Go Modules, see [the wiki].
```make
mybin: internal/assetsfs/pkgzip.go
	go build -o $@

internal/assetsfs/pkgzip.go: $(MYASSETS)
	go generate tools.go
```


## License