erlang - Any way to have rebar get-deps check a local cache before cloning a repository? -
i have project several dependencies on remote repositories (all on github.com @ moment if helps). dependencies don't change often. nice if there way keep existing rebar.conf files same pointed upstream repositories, able cache repos (or snapshot) locally clean builds don't need go internet.
is there anyway of doing this? i.e. rebar command line options, environment settings, git options, etc.?
i suppose couple of things:
- make own local clone of repositories , change
rebar.configtake repos it. on first seems horrible solution, has lot of advantages. github not available, clone speed increase, , last valuable is: projects evolving , 1 day find broken because 1 of deps has changed api in master branch. - you local deps folder need repos , share via symlink every repo need.
Comments
Post a Comment