Sha256: e7d7212947c9c3e5889d99a3db678905fd41681d7d895aafc7121e5e0fb54250

Contents?: true

Size: 843 Bytes

Versions: 1

Compression:

Stored size: 843 Bytes

Contents

# encoding: utf-8

require 'bundler'
begin
  Bundler.setup
rescue Bundler::BundlerError => e
  $stderr.puts e.message
  $stderr.puts "Run `bundle install` to install missing gems"
  exit e.status_code
end

$:.unshift(File.join(File.dirname(__FILE__), './lib'))
require 'latex/decode/version'


desc 'Run an IRB session with LaTeX-Decode loaded'
task :console, [:script] do |t,args|
  ARGV.clear

  require 'irb'
  require 'latex/decode'

  IRB.conf[:SCRIPT] = args.script
  IRB.start
end

require 'cucumber/rake/task'
Cucumber::Rake::Task.new(:cucumber)

task :release do |t|
  system "gem build latex-decode.gemspec"
  system "git tag v#{LaTeX::Decode::VERSION}"
  system "git push --tags"
  system "gem push latex-decode-#{LaTeX::Decode::VERSION}.gem"
  system "rm latex-decode-#{LaTeX::Decode::VERSION}.gem"
end

task :default => :cucumber

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
latex-decode-0.4.0 Rakefile