Sha256: c25c9edfebfa7dd17631d95962dc03cbd09c15f087bee04c6a100bb948b45054
Contents?: true
Size: 1.15 KB
Versions: 4
Compression:
Stored size: 1.15 KB
Contents
# frozen_string_literal: true # require 'rubygems' require 'bundler/setup' require 'rspec/core/rake_task' require 'yard' require_relative './codeclimate/export-coverage' require "bundler/gem_tasks" require "rubocop/rake_task" task :default => [:spec, :yard, 'coverage:format'] #task default: :rubocop RuboCop::RakeTask.new namespace :coverage do desc 'format coverage so it can be exported to codeclimate' task :format do ReportCoverage.format end desc 'upload coverage using your key' task :upload do ReportCoverage.upload end end YARD::Rake::YardocTask.new do |t| t.files = ['system_manager.rb', 'component_manager.rb', 'entity_manager.rb', 'scene_manager.rb', 'stage_manager.rb', 'felflame.rb'] t.options = ['--output-dir', './docs', 'yardoc --markup=markdown|textile|rdoc(default)'] t.stats_options = ['--list-undoc'] end #Rake::TestTask.new do |t| # t.pattern = "tests/**/*_test.rb" #end RSpec::Core::RakeTask.new :spec # For installing FelPacks #Gem::Specification.find_all.each do |a_gem| # next unless a_gem.name.include? 'felpack-' # # Dir.glob("#{a_gem.gem_dir}/lib/#{a_gem.name.gsub('-', '/')}/tasks/*.rake").each { |r| load r } #end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
felflame-2.0.0 | Rakefile |
felflame-1.0.2 | Rakefile |
felflame-1.0.1 | Rakefile |
felflame-1.0.0 | Rakefile |