-
Notifications
You must be signed in to change notification settings - Fork 131
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
Can't find module sources for *dependency* that has nonstandard location #313
Comments
Thanks, that's an interesting thread, lots to think about. Will try one of the immediate solutions for now. I'll probably try having a separate git repo for publishing, using your suggestion to pull in the code from the mono repo. |
Effectively I am the only consumer, though in principle there could be other consumers. Right now, I have two mono repos, and one depends on the other. They are mono repos because each repo has a test "project" in the repo as well. so each Repo is like:
I'll take a closer look at the options when I get into the office, thanks for pointing this out. |
I'll just quickly note that my confusion came from the fact that I believed I could have bower.json, etc in the |
@bbarker if you just move your sources from |
@f-f That's a very good point! I should have thought of that, will give it a try. |
Getting there, still fixing some things up, but one thing I noticed is that |
OK, that works; summary: for these pseudo-mono-repo projects, use Would it be useful to add this information to the README where tests are discussed with separate dev dependencies? |
Ah yes, I'm on 0.8.5.0
…On Thu, Jul 11, 2019 at 11:44 AM Fabrizio Ferrai ***@***.***> wrote:
@bbarker <https://github.com/bbarker> I believe then you're on an old
version of Spago, in the latest you should get a sources key in the
spago.dhall so you decide which sources are included in the build
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#313>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAG7XDTRBTLIXKTW44CGBSLP65IMPANCNFSM4IAHX6IA>
.
--
Brandon Barker
brandon.barker@gmail.com
|
I have a dependency (that I wrote) with the project under REPO_ROOT/app.
But when I try to use this from spago, I get:
It notes that it is searching in
.spago/metajelo-web/v1.0.1/src/**/*.purs
, but should be searching under.spago/metajelo-web/v1.0.1/src/**/*.purs
:I saw that it is possible to define the source location for the builds of a current project, but shouldn't this be possible to detect for dependencies? If not, is it possible to override in some way?
The text was updated successfully, but these errors were encountered: