Skip to content
This repository has been archived by the owner on Dec 7, 2019. It is now read-only.
thomas-moulard edited this page Oct 17, 2010 · 6 revisions

dev-tools - Development tools

dev-tools gathers scripts which proved useful for development at LAAS and JRL.

New package creation

To create a new package, the easiest way is to use package-create.

It is a tool which can be used to generate a project template.

Installing package-create

There is no stable release of package-create, just clone the package from its Git repository (The newest version of package-create is in the autotools branch). Make sure [GitConfiguration Git is correctly configured].

git clone git://github.com/laas/dev-tools.git

Then install it (boostrap, configure, make install).

Generating the package

Take a look at the naming standard to make sure your package name is correct.

You can then generate a template using package-create:

# Create the hpp-newpackage package with a dependency toward foo and a documentation dependency toward bar.
packageCreate -p hpp-newpackage -d foo -dd bar

To understand what each directory is doing, consult the package organization page.

Publishing your package

To publish and backup your work, you have to push it to a remote Git repository placed on github. Ask a owner of the LAAS or JRL organizations to create a project for you.

Then, run the following commands in your new project top directory:

git init

# Replace <url> by the URL provided by github (see your project webpage).
git remote add origin <url>

# Add all your project files for your first commit
git add <files>

# Make your first commit.
git commit -m 'Import initial work.'

# Publish the first commit.
git push origin master