patch applied (nhc98): New utility: cabal-parse

3 Apr
2007
3 Apr
'07
9:44 a.m.
Tue Apr 3 06:37:46 PDT 2007 Malcolm.Wallace@cs.york.ac.uk * New utility: cabal-parse This simple command-line utility is intended to enable the easy retrieval of information from a .cabal file, e.g. for use in Makefiles or shell-scripts. Usage: cabal-parse [-slash] fieldname filename Where a field of the .cabal file contains a list, cabal-parse ensures (for instance) that interspersed commas are removed for simpler onward processing. The optional -slash flag converts dots in module names to slashes, to help find source files. ./script/cabal-parse.hs -> ./src/libraries/cabal-parse.hs M ./Makefile -2 +8 M ./configure -2 +8 A ./script/cabal-parse.hs M ./src/libraries/cabal-parse.hs +126
6622
Age (days ago)
6622
Last active (days ago)
0 comments
1 participants
participants (1)
-
Malcolm Wallace