Skip to content

Script to flatten message directories#5

Merged
IanTheEngineer merged 1 commit intoRethinkRobotics-opensource:kinetic-develfrom
chris-smith:kinetic-devel
Apr 24, 2016
Merged

Script to flatten message directories#5
IanTheEngineer merged 1 commit intoRethinkRobotics-opensource:kinetic-develfrom
chris-smith:kinetic-devel

Conversation

@chris-smith
Copy link
Copy Markdown
Collaborator

Adds a new script that will copy all of your message dependencies into a specified location, flattening the
directory structure that might exist due to workspace overlays. It will also parse through your files and update their require paths to take advantage of this new directory structure so that messages don't need to find their dependencies from your CMAKE_PREFIX_PATH. This is an optional step though, simply running catkin_make or catkin_make install will still work.

To use the script, cd in rosjs and run
$ npm run flatten -- <desired_output_directory>

This is built on top of my current pull request to genjs
RethinkRobotics-opensource/gennodejs#2

Adds a new script that will copy all of your message
dependencies into a specified location, flattening the
directory structure. It will also parse through your files
and update their require paths to take advantage of this
new directory structure.
@IanTheEngineer
Copy link
Copy Markdown
Member

+1 this is great

@IanTheEngineer IanTheEngineer merged commit 596ef7c into RethinkRobotics-opensource:kinetic-devel Apr 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants