mfontanini / presenterm

A markdown terminal slideshow tool
https://mfontanini.github.io/presenterm/
BSD 2-Clause "Simplified" License
1.19k stars 29 forks source link

Sort input file list #202

Closed bmwiedemann closed 7 months ago

bmwiedemann commented 7 months ago

Sort input file list so that themes.rs builds in a reproducible way in spite of non-deterministic filesystem readdir order.

See https://reproducible-builds.org/ for why this is good.

Without this patch, themes.rs and the resulting presenterm binary would differ thusly:

-  theme_name: base16-eighties.dark
+  theme_name: GitHub

This patch was done while working on reproducible builds for openSUSE.

mfontanini commented 7 months ago

Sweet, thanks!