Sha256: 2f7e10e91090709fc44151494717d1398befb81ba292b56825723c42bfec998b
Contents?: true
Size: 560 Bytes
Versions: 4
Compression:
Stored size: 560 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. -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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
mini_portile-0.7.0.rc4 | Rakefile |
mini_portile-0.7.0.rc3 | Rakefile |
mini_portile-0.7.0.rc2 | Rakefile |
mini_portile-0.7.0.rc1 | Rakefile |