Sha256: 9b607ad2ade118ae4555d4d436a206cf9fd80c3f7f02014f8b27b01479f0c983
Contents?: true
Size: 329 Bytes
Versions: 2
Compression:
Stored size: 329 Bytes
Contents
require "bundler/gem_tasks" 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
impala-0.1.1 | Rakefile |
impala-0.1.0 | Rakefile |