Closed Lekensteyn closed 5 years ago
Changes since the initial PR:
$(GOROOT_LOCAL)/src
is also wiped if Go was updated, otherwise files from old and new Go files might be mixed, resulting in the most bizarre error messages.Initially the Makefile depended on $(GOROOT_LOCAL)/pkg
under the assumption that this directory will have an older mtime whenever $(GOROOT_LOCAL)/pkg
is updated. This was not the case with the bogo test and prevented the $(GOROOT_LOCAL)/src
from being updated to the latest version. As a fix, now the version is included (as $(GOROOT_LOCAL)/pkg/.ok_$(VER_OS_ARCH)
.
Hi @henrydcase, any comments on this patch? It would remove unnecessary git clones during the build and speed up development.
_dev/go.sh
invocation.Important fix for integration of Tris in external projects which use the
_dev/go.sh
wrapper. WIthout this fix, it would rebuild Tris for every singlego
invocation.