This website requires JavaScript.
Explore
Help
Sign In
Influxdata
/
influxdb
mirror of
https://github.com/influxdata/influxdb.git
Watch
1
Star
0
Fork
You've already forked influxdb
0
Code
Issues
Projects
Releases
Wiki
Activity
e8fe3c9ed6
influxdb
/
scripts
/
protoc-gen-gogofaster
3 lines
98 B
Plaintext
Raw
Normal View
History
Unescape
Escape
chore: bump gogo/protobuf and regenerate It had been bumped previously from v1.1.1 to v1.2.0 and nothing was regenerated. This bumps it to v1.2.1 and regenerates.
2019-04-02 19:35:46 +00:00
#!/usr/bin/env bash
refactor: modify tooling to take advantage of go run The generate commands have been modified to take advantage of the new functionality in Go 1.11 that allows `go run` to execute a package instead of individual files. This functionality combined with Go modules allows us to execute a package directly out of our pinned dependencies rather than accidentally picking up another binary outside of the build environment. This also simplifies the Makefile because they no longer have to be responsible for installing the correct tooling since the Go command takes care of that logic. It also makes it so that the Makefiles with file generation can now be invoked from their appropriate subdirectories so they are contained within the directory itself rather than relying on values in the top level Makefile. It is now possible to generate all files within this project by using: go generate ./... Or the Makefile can continue to be used. This commit also copies over the special copy of `tmpl` that the storage engine uses within the influxdb repository. It was never copied over so using `go generate` on these packages did not work.
2018-10-15 14:39:01 +00:00
env GO111MODULE=on go run github.com/gogo/protobuf/protoc-gen-gogofaster "$@"