emitrevision: add a small closure to check if a base is usable
We will make more use of this and make it more complex too.
This directory is meant to cache artifacts useful for tests (such as bundle).
Those artifacts need to be cached because they are slow to regenerate on each
test but too large to be tracked within the repository. They are not expected
to change between each run and can be cached.
The `./scripts/` contains code to generate the artifact while the `cache`
directory contains resulting artifact.