Sha256: e8080e6503f997772d53d61d65d535dbd117e0afebbf3c97f773493baba73e84

Contents?: true

Size: 1.05 KB

Versions: 3

Compression:

Stored size: 1.05 KB

Contents

desc 'build necessary assemblies for tests'
task 'spec/ClassLibrary.dll' => FileList["spec/**/*.cs"] do
  system "csc /target:library /out:spec\\ClassLibrary.dll  spec\\clr\\*.cs"
end

task :compile => 'spec/ClassLibrary.dll'

desc 'run specs with bacon on ironruby'
task :bacon => :compile do
  system "ibacon -Ispec -a"
end

(1..4).each do |i|
  desc "run spike #{i}"
  task "spike#{i}" do
    system "ir -I spec -I spikes spikes\\experiment#{i}.rb"
  end
end

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gemspec|
    gemspec.name = "orangutan"
    gemspec.summary = "A mock objects library"
    gemspec.email = "mark@ryall.name"
    gemspec.homepage = "http://github.com/markryall/orangutan"
    gemspec.description = "A mocking library that supports creation of ironruby mock objects (in addition to pure ruby ones)"
    gemspec.files = FileList["[A-Z]*", "{lib,spec}/**/*.{rb,cs}"]
    gemspec.authors = ["Mark Ryall"]
    gemspec.rubyforge_project = 'orangutan'
  end
rescue LoadError
  puts "Jeweler not available. Install it with: sudo gem install jeweler"
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
markryall-orangutan-0.0.2 Rakefile
markryall-orangutan-0.0.3 Rakefile
markryall-orangutan-0.0.4 Rakefile