Open jackfirth opened 7 years ago
I don't know much about the raco pkg tools, so I don't know whether there are any existing functions that convert a package name into a list of source files, or what tools I could use to make one.
I don't think I'll have much time in the next ~week through. If you need it before that, then if you or someone else can figure out that pkg end I can do the rest.
The pkg-directory
function in pkg/lib
would be where to start I think. I don't have an immediate need for this and I don't think it'd be hard for me to implement and open a PR when I do, so no rush.
Okay, thanks! Would the pkg-sloc
function in the new pkg-sloc branch do what you need?
Yup, that looks like it ought to work! If / when I get the time, I can send a PR to add the raco
integration.
A
-p
flag toraco sloc
to interpret the arguments as names of installed packages would be very helpful to me.