Sha256: 5dc7411b41584c5d09c9da140b81c29169d76402876930b22cfa1b0a111d9d38

Contents?: true

Size: 328 Bytes

Versions: 48

Compression:

Stored size: 328 Bytes

Contents

#!/usr/bin/env ruby

require 'infobar'

paths = %w[ . ] + `bundle list --paths`.lines.map(&:chomp)
cmd = %w[ ctags --recurse=yes --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

48 entries across 48 versions & 1 rubygems

Version Path
utils-0.15.1 bin/create_tags
utils-0.15.0 bin/create_tags
utils-0.14.0 bin/create_tags
utils-0.13.0 bin/create_tags
utils-0.12.0 bin/create_tags
utils-0.11.0 bin/create_tags
utils-0.10.1 bin/create_tags
utils-0.10.0 bin/create_tags