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

Version Path
ruby-lsp-0.17.7 exe/ruby-lsp-doctor
ruby-lsp-0.17.6 exe/ruby-lsp-doctor
ruby-lsp-0.17.5 exe/ruby-lsp-doctor
ruby-lsp-0.17.4 exe/ruby-lsp-doctor
ruby-lsp-0.17.3 exe/ruby-lsp-doctor
ruby-lsp-0.17.2 exe/ruby-lsp-doctor
ruby-lsp-0.17.1 exe/ruby-lsp-doctor
ruby-lsp-0.17.0 exe/ruby-lsp-doctor