I want to copy a folder full of assets next to my executable during distribution. How can I represent this in the .cabal file (or, alternatively, the Setup.hs)?
Directory structure:
root/
dist/ -- Generated by cabal
src/
assets/
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
List them in your
extra-source-filesordata-filesfield. More information is available in the cabal manual, especially the section on retrieving data files.