Skip to content

monorepo multiple main modules documentation #1339

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

peterbecich
Copy link
Contributor

@peterbecich peterbecich commented May 4, 2025

Description of the change

This documents a particular use case of the monorepo style:
multiple executable sub-projects in the monorepo. They cannot all have module Main.

This solution is equivalent to

ghc-options: -main-is Foo

in Haskell
https://stackoverflow.com/a/70857560/1007926

Checklist:

  • Added the change to the "Unreleased" section of the changelog
  • Added some example of the new feature to the README
  • Added a test for the contribution (if applicable)

P.S.: the above checks are not compulsory to get a change merged, so you may skip them. However, taking care of them will result in less work for the maintainers and will be much appreciated 😊

@peterbecich peterbecich force-pushed the multiple-main-modules branch from 122d5a2 to dc7cf16 Compare May 4, 2025 08:01
@peterbecich peterbecich marked this pull request as ready for review May 4, 2025 08:02
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

Successfully merging this pull request may close these issues.

1 participant