New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Source directory pollution with `build: haddock: true` #2429

Closed
ekmett opened this Issue Aug 2, 2016 · 2 comments

Comments

Projects
None yet
3 participants
@ekmett

ekmett commented Aug 2, 2016

Building with

build: 
  haddock: true

is dropping highlight.js and style.css into my src directory.

@mgsloan

This comment has been minimized.

Collaborator

mgsloan commented Aug 9, 2016

I can indeed reproduce this, but it doesn't seem to happen for all builds. Building some dependency is causing them to get created. I suspect that this function in haddock is getting called with outdir == "." or similar. Not sure why that's happening, but the results line up.

@mgsloan

This comment has been minimized.

Collaborator

mgsloan commented Aug 9, 2016

I've created haskell/haddock#545 and worked around the issue in stack.

@mgsloan mgsloan closed this Aug 9, 2016

mgsloan added a commit that referenced this issue Aug 9, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment