Skip to content
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

Cabal flag for utils #315

Closed
juhp opened this issue Nov 27, 2020 · 2 comments
Closed

Cabal flag for utils #315

juhp opened this issue Nov 27, 2020 · 2 comments

Comments

@juhp
Copy link

juhp commented Nov 27, 2020

Just a small packaging suggestion: how about adding a build flag to make the building of Benchmark optional (or allowing it not to be built)?
Maybe implicitsnap and docgen too perhaps if it makes sense? I am not sure how they are used in general.

Thanks for this interesting project.

@sorki
Copy link
Contributor

sorki commented Nov 27, 2020

Both implicitsnap and docgen are behind respective flags since #272.

You can disable benchmark too with cabal configure --disable-benchmarks which creates cabal.project.local. Not sure if this is needed for development though - like you can just not run benchmark. Benchmark was also switched from executable to benchmark type in that PR so it's not part of default set of executables anymore.

@juhp
Copy link
Author

juhp commented Nov 28, 2020

Okay, cool - sorry I should have checked more carefully. I think I installed from Hackage.

@juhp juhp closed this as completed Nov 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants