Skip to content

Commit face0d4

Browse files
authored
Ignore packages with COLCON_IGNORE (#626)
Signed-off-by: Martin Pecka <peckama2@fel.cvut.cz>
1 parent f807127 commit face0d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_plugins/rosindex_generator.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ def find_packages(site, distro, repo, snapshot, local_path)
496496
Find.find(local_path) do |path|
497497
if FileTest.directory?(path)
498498
# skip certain paths
499-
if (File.basename(path)[0] == ?.) or File.exist?(File.join(path,'CATKIN_IGNORE')) or File.exist?(File.join(path,'AMENT_IGNORE')) or File.exist?(File.join(path,'.rosindex_ignore'))
499+
if (File.basename(path)[0] == ?.) or File.exist?(File.join(path,'CATKIN_IGNORE')) or File.exist?(File.join(path,'AMENT_IGNORE')) or File.exist?(File.join(path,'COLCON_IGNORE')) or File.exist?(File.join(path,'.rosindex_ignore'))
500500
Find.prune
501501
end
502502

0 commit comments

Comments
 (0)