• Tim Hockin's avatar
    Use checksum to rsync results · 7aa91bbf
    Tim Hockin authored
    If dependencies are touched, the Makefile will detect that tools like
    deepcopy-gen need to be rebuilt.  It will rebuild them, but Go decides the
    dependencies are not actually updated (maybe it was a test file - known
    limitation of the current Makefile) and does not touch the resulting binary.
    Then the Makefile touches the result explicitly to mark thatthe dep change has
    been handled.  Then rsync blows away that change with the older file, and
    helpfully preserves the timestamp.
    
    Now rsync ignores it if the checksum is the same.  Result = faster build.
    7aa91bbf
golang.sh 21.8 KB