common/build-style: remove go_get from Go style.
Fix Manual accordingly, and also fix indentation to be compatible with nearby items. The two packages which set this variable set it explicitly to "no", so it wasn't relied upon. From its description, it was recommended only for git packages, which by default don't fit Void's packaging guidelines. Removing to avoid anyone coming to rely on it.
This commit is contained in:
committed by
Érico Nogueira Rolim
parent
f529f48791
commit
d9c83dbe8b
@@ -15,7 +15,7 @@ do_configure() {
|
||||
if [ "${go_mod_mode}" != "off" ] && [ -f go.mod ]; then
|
||||
# Skip GOPATH symlink for Go modules
|
||||
msg_normal "Building $pkgname using Go modules.\n"
|
||||
elif [ "${go_get}" != "yes" ]; then
|
||||
else
|
||||
mkdir -p ${GOSRCPATH%/*}/
|
||||
ln -fs "$PWD" "${GOSRCPATH}"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user