Better support for source caching


#1

Source caching is important for build timestamps: clearing the directory will end up with fresh new timestamps invalidating built object files in most build systems.

However, the current effective way to cache the source seems to be limited: caching the full directory.

It would be good to have: ability to eval a command for the cached folders (allowing to cache only tracked files), or the ability to exclude unneeded files.


#2

You should try caching the .git directory instead of the whole directory. Also, you can have as many cache steps as you want, and you can cache on the checksum of a file.

With that said, we are working on improving what we currently have.


#3