buildinspace / peru

a generic package manager, for including other people's code in your projects
MIT License
1.11k stars 69 forks source link

`peru copy` should support `--all` #18

Open oconnor663 opened 10 years ago

oconnor663 commented 10 years ago

I should be able to build (and force a build) of any target, not just local rules. Likewise, I should be able to export any tree, including the local imports. Once export can do that, our validate_third_party.sh script can use it and be simpler/faster.

oconnor663 commented 10 years ago

We're getting rid of the build command. This sort of purpose will have to be served by clearing the cache.

oconnor663 commented 9 years ago

export has been renamed to copy, but this is still a valid feature idea. copy should be able to take multiple targets, and maybe an --all flag. That would speed up the validate script in the case where the cache is already populated.

Edit: Actually --all is probably a bad name. We can't actually copy all modules, because putting them all at the same root probably doesn't make sense. What we can do is copy the whole imports tree. Maybe we should name the flag --imports or something.