Rakefile in cast-0.2.0 vs Rakefile in cast-0.2.1
- old
+ new
@@ -1,5 +1,12 @@
require 'ritual'
+require 'rake/testtask'
+
+Rake::TestTask.new do |t|
+ t.libs << "test"
+ t.test_files = FileList['test/*_test.rb']
+ t.verbose = true
+end
extension
file 'ext/cast.so' => FileList['ext/*.c', 'ext/yylex.c'] do |t|
FileUtils.cd 'ext' do