Sha256: 1b2787cb4022bc2b032422d36784deab319896fa35c9a24e1425086316f5506c

Contents?: true

Size: 651 Bytes

Versions: 70

Compression:

Stored size: 651 Bytes

Contents

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

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}\" -- #{ENV['TESTOPTS']} -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]


Concourse.new("mini_portile").create_tasks!

Version data entries

70 entries across 60 versions & 14 rubygems

Version Path
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/vendor/bundle/ruby/3.0.0/gems/tdiary-5.1.4/vendor/bundle/ruby/2.7.0/gems/mini_portile2-2.4.0/Rakefile
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/vendor/bundle/ruby/3.0.0/gems/mini_portile2-2.4.0/Rakefile
tdiary-5.1.5 vendor/bundle/ruby/3.0.0/gems/tdiary-5.1.4/vendor/bundle/ruby/2.7.0/gems/mini_portile2-2.4.0/Rakefile
tdiary-5.1.5 vendor/bundle/ruby/3.0.0/gems/mini_portile2-2.4.0/Rakefile
video_chat_get-0.1.9 vendor/bundle/ruby/2.5.0/gems/mini_portile2-2.4.0/Rakefile
tdiary-5.1.4 vendor/bundle/ruby/2.7.0/gems/mini_portile2-2.4.0/Rakefile
video_chat_get-0.1.6 vendor/bundle/ruby/2.5.0/gems/mini_portile2-2.4.0/Rakefile
tdiary-5.1.3 vendor/bundle/ruby/2.7.0/gems/mini_portile2-2.4.0/Rakefile
tdiary-5.1.3 vendor/bundle/ruby/2.6.0/gems/mini_portile2-2.4.0/Rakefile
video_chat_get-0.1.5 vendor/bundle/ruby/2.5.0/gems/mini_portile2-2.4.0/Rakefile
video_chat_get-0.1.4 vendor/bundle/ruby/2.5.0/gems/mini_portile2-2.4.0/Rakefile
metanorma-cli-1.3.4 gems/ruby/2.6.0/gems/mini_portile2-2.4.0/Rakefile
metanorma-cli-1.3.3.1 gems/ruby/2.6.0/gems/mini_portile2-2.4.0/Rakefile
video_chat_get-0.1.3 vendor/bundle/ruby/2.5.0/gems/mini_portile2-2.4.0/Rakefile
video_chat_get-0.1.2 vendor/bundle/ruby/2.5.0/gems/mini_portile2-2.4.0/Rakefile
video_chat_get-0.1.1 vendor/bundle/ruby/2.5.0/gems/mini_portile2-2.4.0/Rakefile
video_chat_get-0.1.0 vendor/bundle/ruby/2.5.0/gems/mini_portile2-2.4.0/Rakefile
tdiary-5.1.2 vendor/bundle/ruby/2.6.0/gems/mini_portile2-2.4.0/Rakefile
tdiary-5.1.2 vendor/bundle/ruby/2.7.0/gems/mini_portile2-2.4.0/Rakefile
files.com-1.0.55 docs/vendor/bundle/ruby/2.5.0/gems/mini_portile2-2.4.0/Rakefile