ocurrent / ocaml-docs-ci

CI building documentation for ALL versions of ALL packages !
https://docs.ci.ocaml.org
MIT License
17 stars 14 forks source link

tar folders before adding them to git #40

Closed TheLortex closed 3 years ago

TheLortex commented 3 years ago

Instead of having git managing a lot of objects, tar is used to flatten folders into one file (content.tar).

Non-existent or empty folders don't generate a content.tar file.

With this scheme, un-tar is easy and yield the original folder structure: find . -name '*.tar' -exec tar -xvf {} \\;