On 13-06-27 07:55 PM, SiegeLord wrote:

Well, consider this. Let's say I have a project A has a different
project B as its dependency, which I, by accident of history, host on
github.

I.e. project A has this line in it (I think this is the proposed syntax):

extern mod "github.com/SiegeLord/ProjectB";

How would I get rustpkg to use my local copy of it?

You would make a local directory "$W/github.com/SiegeLord/ProjectB" in some workspace $W that's part of your RUST_PATH, that contains your local override.

I assume it will try
to do: rustpkg install github.com/SiegeLord/ProjectB which will only
work the way I want if I re-create that directory structure on my system.

Correct. I think Zack misunderstood your objection. To override a pkgid locally you would need to create a local directory of the same name.

-Graydon

_______________________________________________
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to