Sha256: 857f12f76defe5f7169bcd7703e17bec8b3137db1080cbf47089c49dc59be2b1
Contents?: true
Size: 550 Bytes
Versions: 8
Compression:
Stored size: 550 Bytes
Contents
#!/usr/bin/env ruby # frozen_string_literal: true $LOAD_PATH.unshift(File.expand_path("../lib", __dir__)) require "ruby_lsp/internal" if File.exist?(".index.yml") begin config = YAML.parse_file(".index.yml").to_ruby rescue => e abort("Error parsing config: #{e.message}") end RubyIndexer.configuration.apply_config(config) end index = RubyIndexer::Index.new puts "Globbing for indexable files" RubyIndexer.configuration.indexables.each do |indexable| puts "indexing: #{indexable.full_path}" index.index_single(indexable) end
Version data entries
8 entries across 8 versions & 1 rubygems