Sha256: f59b03678f0e8c56e9b54a57cf1ab7810d123b68f5a57b316df553a0b6664619
Contents?: true
Size: 468 Bytes
Versions: 1
Compression:
Stored size: 468 Bytes
Contents
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| sh "thrift -out lib/impala/protocol --gen rb #{f}" end sh "eden rewrite lib/impala/protocol/*.rb" end task :clean do GENNED_FILES.each { |f| rm f } end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
impala-0.1.2 | Rakefile |