Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 1.1 KB

File metadata and controls

23 lines (17 loc) · 1.1 KB

setup

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:

  1. Create your kunit root directory and from within it issue:
    repo init -u https://github.com/k-unit/setup
  2. Update the project by issuing:
    repo sync
  3. 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.
  4. Finalize the project setup by running ./env/setup.sh from project root. This completes project environment setup and you can now build and run it.
    Use ./env/setup.sh --help to see the script's usage options.

Use make --help in the project root to see the available build options.