Creating Projects

Creating a Project

Create the project recipe in the citk/projects directory with the following content, replacing URL and BUILDTYPE with appropriate values:

templates:
- BUILDTYPE
- base

variables:
  repository: URL

  branches:
  - master

The BUILDTYPE template depends on your project nature.

Templates

CMAKE

Use the cmake template.

JAVA

For Maven projects add the maven template.

This will run mvn install deploy and dependency:copy-dependencies targets.

Additional targets can be added with the maven.targets variable:

variables:

  maven.targets:
  - foo
  - bar

ROS

If your repository contains multiple packages your should use catkin tools to build them using the catkin template.

Python

If the project contains a setup.py you need to use the setuptools template.

More templates and their variables can be found here

Adding a Github Project

Create the project recipe in the citk/projects directory with the following content, replacing USER and PROJECT with the organization and project name respectively:

templates:
- BUILDTYPE
- github
- base

variables:
  github.user: USER
  github.project: PROJECT

  branches:
  - master