Sha256: 2b97011eeb3e5f4ed7f64b85a2cf979e682168276f42c7b1b3d116aec9d1927c

Contents?: true

Size: 460 Bytes

Versions: 2

Compression:

Stored size: 460 Bytes

Contents

require "bundler/gem_tasks"

require 'rake/testtask'

Rake::TestTask.new do |t|
  t.libs << "test"
  t.test_files = FileList['./test/**/*_test.rb']
end

desc "Generate Lexer"
task :lexer do
  `rex lib/lucid-tdl/parser/lucid-tdl.rex -o lib/lucid-tdl/parser/lexer.rb`
end

desc "Generate Parser"
task :parser do
  `racc lib/lucid-tdl/parser/lucid-tdl.y -o lib/lucid-tdl/parser/parser.rb`
end

desc "Generate Lexer and Parser"
task :generate => [:lexer, :parser]

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
lucid-tdl-1.1.0 Rakefile
lucid-tdl-1.0.0 Rakefile