Skip to content

Commit d3c3258

Browse files
authored
Merge pull request #367 from compas-dev/gh_package_name
Gh package name
2 parents 62f34d9 + 1d540c3 commit d3c3258

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

CHANGELOG.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Unreleased
1313
**Added**
1414

1515
* Added support for attached and non-attached collision mesh visualization to the ``Robot Visualize`` GH component.
16+
* Added a prefix to all GH components.
1617

1718
**Changed**
1819

tasks.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,16 @@ def build_ghuser_components(ctx, gh_io_folder=None, ironpython=None):
234234
if not ironpython:
235235
ironpython = 'ipy'
236236

237-
ctx.run('{} {} {} {} --ghio "{}"'.format(ironpython, os.path.join(action_dir, 'componentize.py'), source_dir, target_dir, os.path.abspath(gh_io_folder)))
237+
ctx.run(
238+
'{} {} {} {} --ghio "{}" --prefix "{}"'.format(
239+
ironpython,
240+
os.path.join(action_dir, 'componentize.py'),
241+
source_dir,
242+
target_dir,
243+
os.path.abspath(gh_io_folder),
244+
"(COMPAS-FAB) "
245+
)
246+
)
238247

239248

240249
@task(help={

0 commit comments

Comments
 (0)