dep-0.2.0 is not a library.
dep
A very basic, git based, flat dependency manager
Warning:
Currently only public repos or repos with ssh are supported. So, no user-pass authentication.
Commands
dep global // prints the global config path
dep init // creates an empty project config
dep update // updates all dependencies
Sample Config
The configuration format is heavily inspired by the cargo package format, with some minor changes.
[]
# required
= 'dep'
# optional
# if lib-dir isn't set, default-lib-dir (defined in $HOME/.deprc) is used
= 'VENDOR'
= ['hardliner66']
= 'My cool project'
= 'https://github.com/hardliner66/dep'
= 'https://github.com/hardliner66/dep'
= 'git.myserver.com'
[]
# public git repo
= { = 'https://my.gitserver.com/user/some_repo' }
# custom lib-dir for this dependecy
= { = 'https://my.gitserver.com/user/some_repo2', = 'custom_lib_dir' }
# rename output dir (inside lib-dir) for this dependency
= { = 'https://my.gitserver.com/user/some_repo3', = 'mylib' }
# private git repo
= { = 'git@my.gitserver.com:user/some_private_repo' }
# alternative syntax for private repos (only if git-server is set)
= { = 'user/some_private_repo2' }
# branches
= { = 'git@my.gitserver.com:user/some_other_private_repo', = 'feature3' }
# local folders
= { = '../some/local/folder' }
TODOs / Planed features
- write better documentation
- local overrides file