Sha256: 4ad671b491eec0350022b8b43ae0074369683b187e85cd3b75bc9227d65116a3

Contents?: true

Size: 439 Bytes

Versions: 1

Compression:

Stored size: 439 Bytes

Contents

# frozen_string_literal: true

require 'bundler/gem_tasks'
require 'rspec/core/rake_task'
require 'cucumber'
require 'cucumber/rake/task'

RSpec::Core::RakeTask.new(:spec)
Cucumber::Rake::Task.new(:features)

task test: %i[spec features]

task default: :test

desc 'Generate the puffy language parser'
task gen_parser: 'lib/puffy/parser.tab.rb'

file 'lib/puffy/parser.tab.rb' => 'lib/puffy/parser.y' do
  `racc -S lib/puffy/parser.y`
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
puffy-0.1.0 Rakefile