Sha256: bf6263fbaad1cdadaf45b07a15c5eedb928ca52c540fdd0f4e4d8f6787487018

Contents?: true

Size: 904 Bytes

Versions: 5

Compression:

Stored size: 904 Bytes

Contents

require 'rubygems'
require 'rspec/core/rake_task'  # testing framework
require 'yard'                  # yard documentation
require 'ffi'                   # loads the extension
require 'rake/clean'            # for the :clobber rake task
require File.expand_path('../lib/mt-libuv/ext/tasks', __FILE__)    # platform specific rake tasks used by compile



# By default we don't run network tests
task :default => :limited_spec
RSpec::Core::RakeTask.new(:limited_spec) do |t|
    # Exclude network tests
    t.rspec_opts = "--tag ~network" 
end
RSpec::Core::RakeTask.new(:spec)


desc "Run all tests"
task :test => [:spec]


YARD::Rake::YardocTask.new do |t|
    t.files   = ['lib/**/*.rb', '-', 'ext/README.md', 'README.md']
end


desc "Compile libuv from submodule"
task :compile => ["ext/libuv/lib/libuv.#{FFI::Platform::LIBSUFFIX}"]

CLOBBER.include("ext/libuv/lib/libuv.#{FFI::Platform::LIBSUFFIX}")

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
mt-libuv-4.1.04 Rakefile
mt-libuv-4.1.03 Rakefile
mt-libuv-4.1.02 Rakefile
mt-libuv-4.1.01 Rakefile
mt-libuv-4.1.0 Rakefile