Skip to content

Files

Latest commit

5642b99 · Aug 2, 2023

History

History

scripts

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Mar 25, 2013
Nov 20, 2013
Dec 24, 2012
Dec 24, 2012
Aug 2, 2023
Nov 20, 2013
Dec 24, 2012
Dec 24, 2012
Jul 11, 2015

Miscellaneous scripts related to the project

Gource visualization

% mkdir /tmp/images
% vi scripts/github-name-map
% scripts/github-fetch-images \
    https://github.com/ekmett/lens/graphs/contributors-data \
    scripts/github-name-map /tmp/images
% scripts/run-gource /tmp/images audio.ogg /tmp/lens-gource-"$(date +%Y%m%d)"
  • github-fetch-images downloads avatar images for committers based on github-name-map. (TODO: list cabal dependencies; reduce them as well.)
  • run-gource runs Gource, avconv and MP4Box to generate a video. The audio input file must be at least as long as the resulting video. (TODO: can one make avconv loop the audio?)

Spellcheck

% scripts/spellcheck
  • spellcheck grabs a list of files in the repository using Git and runs Aspell against them. (TODO: only spellcheck comments from Haskell files.)

IRC Topic Stats

% scripts/stats
  • Generates a fragment for the #haskell-lens channel topic summarising the number of unsafeCoerces, doctests, operators and modules.

% scripts/operators
  • Generate a list of operators defined under src/Control/Lens/, for pasting into the hiding clause of Control.Lens.Combinators and the export section of Control.Lens.Operators.