Sha256: 7b1bab83a1a99ef3d6103d3d09650002c9101f925466b5ee98f12ea8f27d9671

Contents?: true

Size: 669 Bytes

Versions: 1

Compression:

Stored size: 669 Bytes

Contents

# frozen_string_literal: true

require 'bundler/gem_tasks'
require 'rspec/core/rake_task'
require 'github_changelog_generator/task'

RSpec::Core::RakeTask.new(:spec)

GitHubChangelogGenerator::RakeTask.new :changelog do |config|
  config.user = 'opus-codium'
  config.project = 'mtree'
  config.exclude_labels = ['skip-changelog']
  config.future_release = "v#{Mtree::VERSION}"
  config.since_tag = 'v1.0.0'
end

task default: :spec

task build: :gen_parser
task spec: :gen_parser

desc "Generate the mtree parser's code"
task gen_parser: [
  'lib/mtree/parser.tab.rb',
]

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mtree-1.0.1 Rakefile