1)Make it so, if the cache_dir(~/.pony-build) does not exist, create it and do some initial repo checkouts.
- The whole point of the cache_dir is to remove the need to continuously checkout data from a public repo. Once the first initial co is done we can just grab the deltas int he future, then use the local cache for our building needs and checkouts.
- So there has been a few iterations that you can look through at : mkdir Started out doing the creation inside the different "Clone" classes. We will now move to just calling on a function that will check for and do whatever needs to be doen to make sure cache_dir is there. This way inside the classes we can just check for the repo dirs and either update or create. This cut down on the code needed inside the classes significantly.
No comments:
Post a Comment