#!/usr/bin/env bash

set -e

which pigeon >/dev/null || {
	echo "Installing pigeon from vendor"
	go install ./vendor/github.com/mna/pigeon
}


which goimports >/dev/null || {
	echo "Installing goimports from vendor"
	go install ./vendor/golang.org/x/tools/cmd/goimports
}

which golint >/dev/null || {
	echo "Installing golint from vendor"
	go install ./vendor/github.com/golang/lint/golint
}

#!/usr/bin/env bash

set -e

go install ./vendor/github.com/mna/pigeon
go install ./vendor/golang.org/x/tools/cmd/goimports
go install ./vendor/github.com/golang/lint/golint

Remove guards in deps installer
Remove guards in deps installer

If the pigeon dependency is updated, the parser is regenerated and
committed back to the repo. Other developers need to re-install pigeon
whenever this happens (otherwise they will regenerate a stale version of
the parser.)
