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