A repo repository for managing the kunit multi-project.
To install repo:
$ curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
$ chmod a+x ~/bin/repo
To setup the kunit project follow these simple steps:
- Create your kunit root directory and from within it issue:
repo init -u https://github.com/k-unit/setup - Update the project by issuing:
repo sync - By default the versions checked out as defined in the repo manifest don't have a name and are called no_branch.
It is good pratice (though not mandatory) to set a branch name in all repositories in the project by issuing:
repo start <branch_name> --all
Where branch_name is to be the name of the local branch on each of the projet's git repositories. - Finalize the project setup by running
./env/setup.shfrom project root. This completes project environment setup and you can now build and run it.
Use./env/setup.sh --helpto see the script's usage options.
Use make --help in the project root to see the available build options.