Sha256: 1c66c7a64723eade4d0dba626211d2142f65df0fe7933c25d25da2145a6fd239
Contents?: true
Size: 289 Bytes
Versions: 12
Compression:
Stored size: 289 Bytes
Contents
# Find all racc files and generate the parser. # RACC_FILES = FileList[ 'lib/**/*.y'].ext( '.rb' ) namespace :bt do desc "Generate parser with racc" task :racc => RACC_FILES rule '.rb' => '.y' do |target| sh "racc -g #{target.source} -o #{target.name}" end end
Version data entries
12 entries across 12 versions & 1 rubygems