github.com/iotexproject/iotex-core@v1.14.1-rc1/misc/scripts/stringer.sh (about)

     1  #!/bin/bash -ex
     2  go get golang.org/x/tools/cmd/stringer
     3  export PATH=$PATH:"$GOPATH/bin"
     4  find . -name '*_string.go' -type f -not -path "./vendor/*" -not -path "$GOPATH/vendor/*" -delete
     5  go generate `glide nv | grep -v go-build`