1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-06-15 20:15:24 +00:00

d2enum: update readme to mention go generate (#133)

This commit is contained in:
Robin Eklind 2019-11-12 16:36:30 -06:00 committed by Tim Sarbin
parent bdda07f7e5
commit 12f8ca1004

View File

@ -8,9 +8,9 @@ go get github.com/mewspring/tools/cmd/string2enum
Once you have the tools installed, simply run the following command in this
folder to regenerate the support files:
```
generate
go generate
```
If you add any new files, make sure to add the following to the end of the
If you add any enums (e.g. `AnimationMode`), make sure to add the following to the end of the
file:
```go
//go:generate stringer -linecomment -type AnimationMode