Sha256: a34ea02b47f37f64f82307b752d49c54b355989042591997ff46ccb58968054b

Contents?: true

Size: 566 Bytes

Versions: 32

Compression:

Stored size: 566 Bytes

Contents

require "rake/clean"
require 'bundler/gem_tasks'

namespace :test do
  desc "Test MiniPortile by running unit tests"
  task :unit do
    sh "ruby -w -W2 -I. -Ilib -e \"#{Dir["test/test_*.rb"].map{|f| "require '#{f}';"}.join}\" -- -v"
  end

  desc "Test MiniPortile by compiling examples"
  task :examples do
    Dir.chdir("examples") do
      sh "rake ports:all"
    end
  end
end

task :clean do
  FileUtils.rm_rf ["examples/ports", "examples/tmp"], :verbose => true
end

desc "Run all tests"
task :test => ["test:unit", "test:examples"]

task :default => [:test]

Version data entries

32 entries across 28 versions & 8 rubygems

Version Path
tdiary-5.0.5 vendor/bundle/gems/tdiary-5.0.4/vendor/bundle/gems/mini_portile2-2.1.0/Rakefile
tdiary-5.0.5 vendor/bundle/gems/mini_portile2-2.1.0/Rakefile
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/mini_portile2-2.1.0/Rakefile
tdiary-5.0.4 vendor/bundle/gems/mini_portile2-2.1.0/Rakefile
autocompl-0.2.2 test/dummy/vendor/bundle/ruby/2.3.0/gems/mini_portile2-2.1.0/Rakefile
autocompl-0.2.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/mini_portile2-2.1.0/Rakefile
autocompl-0.2.0 test/dummy/vendor/bundle/ruby/2.3.0/gems/mini_portile2-2.1.0/Rakefile
autocompl-0.1.2 test/dummy/vendor/bundle/ruby/2.3.0/gems/mini_portile2-2.1.0/Rakefile
autocompl-0.1.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/mini_portile2-2.1.0/Rakefile
autocompl-0.1.0 test/dummy/vendor/bundle/ruby/2.3.0/gems/mini_portile2-2.1.0/Rakefile
autocompl-0.0.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/mini_portile2-2.1.0/Rakefile
vagrant-unbundled-1.9.1.1 vendor/bundle/ruby/2.4.0/gems/mini_portile2-2.1.0/Rakefile
abaci-0.3.0 vendor/bundle/gems/mini_portile2-2.1.0/Rakefile
tdiary-5.0.2 vendor/bundle/gems/mini_portile2-2.1.0/Rakefile
vagrant-compose-yaml-0.1.3 vendor/bundle/ruby/2.2.0/gems/mini_portile2-2.0.0/Rakefile
vagrant-compose-yaml-0.1.2 vendor/bundle/ruby/2.2.0/gems/mini_portile2-2.0.0/Rakefile
vagrant-compose-yaml-0.1.1 vendor/bundle/ruby/2.2.0/gems/mini_portile2-2.0.0/Rakefile
vagrant-compose-yaml-0.1.0 vendor/bundle/ruby/2.2.0/gems/mini_portile2-2.0.0/Rakefile
vagrant-unbundled-1.8.5.2 vendor/bundle/ruby/2.3.0/gems/mini_portile2-2.1.0/Rakefile
vagrant-unbundled-1.8.5.2 vendor/bundle/ruby/2.3.0/gems/mini_portile2-2.0.0/Rakefile