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