3 ms·
It's doable though: 'go list -f "{{.Stale}}" $PACKAGE' can be used to determine if a package needs to be rebuilt; this can be used in a make rule which touches
by zeveb 9y ago
It's doable though: 'go list -f "{{.Stale}}" $PACKAGE' can be used to determine if a package needs to be rebuilt; this can be used in a make rule which touches a stamp file, and then the stamp file may be relied upon for other make rules.
My quibble with the example Makefile as written is that it doesn't utilise 'go install,' which I much prefer to 'go build.'