• Martino Facchin's avatar
    Reuse (cache) object archives in large sketch projects (#2464) · c2678cff
    Martino Facchin authored
    * Reuse archiveCompiledFiles helper for long commandline shrink
    
    Since archiveCompiledFiles already handles hot cache correctly, this avoids objs.a being rebuilt even if files don't change.
    
    Would be ideal if PathList could expose a generic Filter API (to get rid of the "duplicated" filter)
    
    * Upgrade go-paths / remove duplicate filter function
    
    * Consider existing archives during the build
    
    * Simplified archiveCompiledFiles function signature
    
    It doesn't make sense anymore to keep path and filename separated.
    
    * Added integration test
    
    ---------
    Co-authored-by: default avatarCristian Maglie <c.maglie@arduino.cc>
    c2678cff
go-paths-helper.dep.yml 19 KB