Sha256: 41bf7de2e4ca7cc314c013348d336a446842dfc6ae69f0c419f52581ef31e6a2

Contents?: true

Size: 728 Bytes

Versions: 9

Compression:

Stored size: 728 Bytes

Contents

lib = File.expand_path('../lib/', __FILE__)
$:.unshift lib unless $:.include?(lib)

require 'rake/clean'
require 'edtf/version'


desc 'Generates the parser'
task :racc do
  system 'bundle exec racc -o lib/edtf/parser.rb lib/edtf/parser.y'
end

desc 'Generates the parser with debug information'
task :racc_debug do
  system 'bundle exec racc -v -t -o lib/edtf/parser.rb lib/edtf/parser.y'
end

desc 'Builds the gem file'
task :build => [:racc] do
  system 'gem build edtf.gemspec'
end

task :release => [:build] do
  system "git tag #{EDTF::VERSION}"
  system "gem push edtf-#{EDTF::VERSION}.gem"
end

CLEAN.include('lib/edtf/parser.rb')
CLEAN.include('lib/edtf/parser.output')
CLEAN.include('*.gem')
CLEAN.include('**/*.rbc')

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
edtf-1.0.0 Rakefile
edtf-0.0.9 Rakefile
edtf-0.0.8 Rakefile
edtf-0.0.7 Rakefile
edtf-0.0.6 Rakefile
edtf-0.0.5 Rakefile
edtf-0.0.4 Rakefile
edtf-0.0.3 Rakefile
edtf-0.0.2 Rakefile