Sha256: f7f927550e030a30de89154575338e55d4d5cb110496b4af595893afe3b418ee

Contents?: true

Size: 448 Bytes

Versions: 9

Compression:

Stored size: 448 Bytes

Contents

require "bundler/gem_tasks"
require "rake/testtask"

task :default => [:test]

Rake::TestTask.new do |t|
  t.libs.push "lib"
  t.test_files = FileList['test/test_*.rb']
  t.verbose = true
end

THRIFT_FILES = FileList['./thrift/*.thrift']
GENNED_FILES = FileList['./lib/impala/protocol/*']

task :gen do
  THRIFT_FILES.each do |f|
    sh "thrift -out lib/impala/protocol --gen rb #{f}"
  end
end

task :clean do
  GENNED_FILES.each { |f| rm f }
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
impala-0.5.1 Rakefile
impala-0.5.0 Rakefile
impala-0.4.3 Rakefile
impala-0.4.2 Rakefile
impala-0.4.1 Rakefile
impala-0.4.0 Rakefile
impala-0.3.1 Rakefile
impala-0.3.0 Rakefile
impala-0.2.0 Rakefile