Rakefile in impala-0.1.1 vs Rakefile in impala-0.1.2
- old
+ new
@@ -1,6 +1,16 @@
require "bundler/gem_tasks"
+task :default => [:test]
+
+task :test do
+ ret = true
+ Dir["test/**/*.rb"].each do |f|
+ ret = ret && ruby(f, '')
+ end
+ exit(ret)
+end
+
THRIFT_FILES = FileList['./thrift/*.thrift']
GENNED_FILES = FileList['./lib/impala/protocol/*']
task :gen do
THRIFT_FILES.each do |f|