Sha256: ae92b6aa6e4291b9940fe7179b4916598f4a1204fefb7190c96acb00d8c3007b
Contents?: true
Size: 889 Bytes
Versions: 1
Compression:
Stored size: 889 Bytes
Contents
# frozen_string_literal: true require "vite_rb" begin require "bundler/setup" rescue LoadError puts "You must `gem install bundler` and `bundle install` to run rake tasks" end require "yard" YARD::Rake::YardocTask.new do |t| t.files = ["lib/**/*.rb", "README.md"] # optional t.options = ["--title Vite #{::ViteRb::VERSION}", "--line-numbers", "--any", "--extra", "--opts"] # optional t.stats_options = ["--list-undoc"] # optional end require "bundler/gem_tasks" require "rake/testtask" Rake::TestTask.new(:test) do |t| t.libs << "test" t.test_files = Dir["test/**/*_test.rb"].reject do |path| path.include?("rails_test_app") || path.include?("ruby_test_app") end t.verbose = true end Rake::TestTask.new(:"test:unit") do |t| t.libs << "test" t.test_files = Dir["test/unit/**/*_test.rb"] t.verbose = true end require "standard/rake" task default: :test
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
vite_rb-0.0.1.alpha1 | Rakefile |