Skip to content

JPMoresmau/data-files-gen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

data-files-gen

This little utility helps you generate the data-files Cabal field if you have lots of files to include.

You pass it the directory you want to include, and it will generate the proper inclusions lines according to Cabal's rules. So for each file extension, it will generate dir/*.ext, and it will recurse into sub directories.

You can exclude some directories by name via the -d option (you can use it multiple times), and exclude extensions via the -e option.

You can add a specific number of spaces at the start of each generated line with the -i option.

About

Helper to generate data-files cabal field

Resources

License

Stars

Watchers

Forks

Packages

No packages published