You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment, the bare Cabal cradle can't handle components other than the main library component. We can fix this with a multi component where we have a mapping for all the paths to their appropriate components. However, it would be nice to be able to just use this for the components that the bare Cabal cradle can't find.
With @fendor 's help, I tried something like this:
However, it turns out that this will only try the first component that matches a path. So depending which one I put first, either the test component or the library component will work, and the other will give an error.
It would be nice to be able to do something like this.
The text was updated successfully, but these errors were encountered:
At the moment, the bare Cabal cradle can't handle components other than the main library component. We can fix this with a multi component where we have a mapping for all the paths to their appropriate components. However, it would be nice to be able to just use this for the components that the bare Cabal cradle can't find.
With @fendor 's help, I tried something like this:
However, it turns out that this will only try the first component that matches a path. So depending which one I put first, either the test component or the library component will work, and the other will give an error.
It would be nice to be able to do something like this.
The text was updated successfully, but these errors were encountered: