inky: run stringer with "go run" (#95)

Run stringer command (for code generation) using "go run" instead of "go
install" to avoid affecting the developer's global $GOBIN.
pull/101/head
Olivier Mengué 1 year ago committed by GitHub
parent f007d15374
commit 321f6f6211
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -4,7 +4,7 @@
package inky
//go:generate go install golang.org/x/tools/cmd/stringer@latest
//go:generate -command stringer go run golang.org/x/tools/cmd/stringer@latest
//go:generate stringer -type=Model,Color,ImpressionColor -output types_string.go
import (

Loading…
Cancel
Save