mirror of
https://github.com/status-im/sourcecred.git
synced 2025-02-13 13:06:32 +00:00
This modifies `scripts/build_static_site.sh` so that it uses the cache available in `$SOURCECRED_DIRECTORY/cache`. This makes the script less hermetic, but also enormously faster for regular usage. We use a symbolic link for efficiency, and so that the user's main cache is updated by the data loaded by build_static_site. Test plan: I've manually verified that running build_static_site.sh is now fast, when building repos which are already locally present in cache. Existing tests pass. The user's cache is not removed.