Sha256: fdee5592b80ef9bd0d7b8a474d2856604f221d12eb98e1bf17c6528c7e8b117d

Contents?: true

Size: 343 Bytes

Versions: 6

Compression:

Stored size: 343 Bytes

Contents

#!/usr/bin/env ruby

require 'infobar'

paths = %w[ . ] + `bundle list --paths`.lines.map(&:chomp)
cmd = %w[ ctags --recurse=yes --exclude=pkg --languages=Ruby,C ] + paths
Infobar.busy(label: 'Creating tags') { system(*cmd) }
if megabytes = File.size('tags').to_f / 1024 ** 2 rescue nil
  infobar.puts 'Created %.3fM of tags.' % megabytes
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
utils-0.48.0 bin/create_tags
utils-0.47.0 bin/create_tags
utils-0.46.0 bin/create_tags
utils-0.45.0 bin/create_tags
utils-0.44.0 bin/create_tags
utils-0.43.0 bin/create_tags