-
Notifications
You must be signed in to change notification settings - Fork 1
Home
dev-tools gathers scripts which proved useful for development at LAAS and JRL.
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.
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
).
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.
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