community/vault: build plugins and web UI
Also with some cleaning up in build()
:
-
make prep
runs go generate with some checking for formats and Go version, which is kind of unnecessary. - Update Go ldflags to be the same as https://github.com/hashicorp/vault/blob/e4968ca83863e473c0173e117f55a8fadac8180a/Makefile#L257
Binary size after the change: 144MB -> 151MB
Package size after the change: 39MB -> 41MB
Edited by Hoang Nguyen