Sha256: 737a8d15551a9e850d06994cbdbd93bf1fab99c2afd67450abb3794d00f74038

Contents?: true

Size: 510 Bytes

Versions: 10

Compression:

Stored size: 510 Bytes

Contents

task :clean do
  sh 'rm -f ext/*.o ext/*.so ext/*.dylib'
  sh 'rm -f ext/org/pryrepl/*.class'
end

desc "Compile *.c files"
task :compile => [:clean] do
  cd 'ext/' do
    sh 'ruby extconf.rb'
    sh 'make'
  end
end

desc "Run example"
task :example do
  sh "ruby -I./lib/ ./examples/example.rb "
end

desc "Run example 2"
task :example2 do
  sh "ruby -I./lib/ ./examples/example2.rb "
end

desc "Run tests"
task :test do
  sh 'rspec spec -r ./spec/spec_helpers.rb'
end

task :default => [:compile, :test]


Version data entries

10 entries across 10 versions & 3 rubygems

Version Path
whos_dated_who-0.1.0 vendor/bundle/gems/interception-0.5/Rakefile
whos_dated_who-0.0.1 vendor/bundle/gems/interception-0.5/Rakefile
interception-0.5 Rakefile
interception-0.4 Rakefile
rake-builder-0.8.0 examples/04_zlib/vendor/bundle/gems/interception-0.3/Rakefile
rake-builder-0.7.0 examples/04_zlib/vendor/bundle/gems/interception-0.3/Rakefile
interception-0.3 Rakefile
interception-0.2 Rakefile
interception-0.1 Rakefile
interception-0.1.pre.2 Rakefile