Skip to content

Commit

Permalink
make: Speed up the build by skipping gem docs
Browse files Browse the repository at this point in the history
Per default, the Ruby gems renerate documentation in two distinct formats
during installation. By passing --no-ri and --no-rdoc, gem is instructed
to skip this step for both formats.

If the user needs documentation for any of the gems after all, they can
manually generate the docs themselves.
  • Loading branch information
ffrank authored and purpleidea committed Dec 4, 2018
1 parent 9ed830b commit 9db0fc4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions misc/make-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,6 @@ go get golang.org/x/tools/cmd/stringer # for automatic stringer-ing
go get golang.org/x/lint/golint # for `golint`-ing
go get github.com/tmthrgd/go-bindata/go-bindata # for compiling in non golang files
go get -u gopkg.in/alecthomas/gometalinter.v1 && mv "$(dirname $(command -v gometalinter.v1))/gometalinter.v1" "$(dirname $(command -v gometalinter.v1))/gometalinter" && gometalinter --install # bonus
command -v mdl &>/dev/null || gem install mdl || true # for linting markdown files
command -v fpm &>/dev/null || gem install fpm || true # for cross distro packaging
command -v mdl &>/dev/null || gem install mdl --no-ri --no-rdoc || true # for linting markdown files
command -v fpm &>/dev/null || gem install fpm --no-ri --no-rdoc || true # for cross distro packaging
cd "$XPWD" >/dev/null

0 comments on commit 9db0fc4

Please sign in to comment.