#Adding libraries or packages
This document is intended for contributors who want to extend this codebase.
- Add any new libraries into the submodule from the root of the repo
cd $GOPATH
git submodule add https://github.com/foo/bar src/github.com/foo/bar
./scripts/sync-package-specs- Add any new libraries into the submodules from the root of the repo
cd $GOPATH
git submodule add https://github.com/foo/bar src/github.com/foo/bar- Update the package sync script:
vim $GOPATH/scripts/sync-package-specsFind or create the sync_package line for baz
- Run the sync script:
./scripts/sync-package-specs