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

Can't find a way to have path-based sub-packages #347

Closed
p0nce opened this issue Jun 13, 2014 · 3 comments
Closed

Can't find a way to have path-based sub-packages #347

p0nce opened this issue Jun 13, 2014 · 3 comments

Comments

@p0nce
Copy link
Contributor

p0nce commented Jun 13, 2014

Story

In GFM examples, I've tried to have

 "dependencies": 
    {
        "gfm:sdl2": {"path": "../../", "version": "~master"}
    }

which is a handy way for code examples to be in sync with ~master.
As exemplified in dbox: https://github.com/d-gamedev-team/dbox/blob/master/examples/demo/dub.json#L43

Problem

DUB says:

Error executing command run: Path based dependency C:\Users\ponce\github\gfm\ is
 referenced with a wrong name: gfm:sdl2 vs. gfm

Now I'm not sure if this is possible with DUB design, so I'll add it's more a nice-to-have than a killer feature, since examples will realistically need to have versionned dependencies. It would just be more orthogonal.

DUB version
5bb8496

@p0nce
Copy link
Contributor Author

p0nce commented Jun 13, 2014

Introduced by 3926622

@s-ludwig
Copy link
Member

Yes, that's definitely a bug. I'll look into it.

@p0nce
Copy link
Contributor Author

p0nce commented Jun 13, 2014

Wow so fast :) Thanks and good night!

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