Sha256: c349e7ba86f8d77422c70be7200d943ecba9de75208074eecb72aa245de47548

Contents?: true

Size: 683 Bytes

Versions: 3

Compression:

Stored size: 683 Bytes

Contents

require "bundler/gem_tasks"
require "rspec/core/rake_task"

desc "Generate Neovim remote API docs"
task :docs do
  sh File.expand_path("../script/generate_docs", __FILE__)
end

desc "Dump nvim remote API"
task :api do
  sh File.expand_path("../script/dump_api", __FILE__)
end

namespace :spec do
  desc "Run functional specs"
  RSpec::Core::RakeTask.new(:functional) do |t|
    t.exclude_pattern = "spec/acceptance_spec.rb,spec/acceptance/**/*"
  end

  desc "Run acceptance specs"
  RSpec::Core::RakeTask.new(:acceptance) do |t|
    t.pattern = "spec/acceptance_spec.rb"
    t.rspec_opts = "--format documentation"
  end
end

task :default => ["spec:functional", "spec:acceptance"]

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
neovim-0.6.2 Rakefile
neovim-0.6.1 Rakefile
neovim-0.6.0 Rakefile