Sha256: f7b04fb2c1c9b3ebc80c3c0296280eede3e387a18156e0d16c74a0a2aab42dca

Contents?: true

Size: 1011 Bytes

Versions: 13

Compression:

Stored size: 1011 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 #{LaTeX::Decode::VERSION}"
  system "git push --tags"
  system "gem push latex-decode-#{LaTeX::Decode::VERSION}.gem"
  system "rm latex-decode-#{LaTeX::Decode::VERSION}.gem"
  system "jgem build latex-decode.gemspec"
  system "jgem push latex-decode-#{LaTeX::Decode::VERSION}.gem"
  system "rm latex-decode-#{LaTeX::Decode::VERSION}-java.gem"
end

task :default => :cucumber

Version data entries

13 entries across 13 versions & 3 rubygems

Version Path
latex-decode-0.3.2 Rakefile
metanorma-cli-1.3.4 gems/ruby/2.6.0/gems/latex-decode-0.3.1/Rakefile
metanorma-cli-1.3.3.1 gems/ruby/2.6.0/gems/latex-decode-0.3.1/Rakefile
latex-decode-0.3.1 Rakefile
latex-decode-0.3.0 Rakefile
bibtex_to_scrapbox-0.2.0 gems/gems/latex-decode-0.2.2/Rakefile
bibtex_to_scrapbox-0.1.0 gems/gems/latex-decode-0.2.2/Rakefile
latex-decode-0.2.2-java Rakefile
latex-decode-0.2.2 Rakefile
latex-decode-0.2.1-java Rakefile
latex-decode-0.2.1 Rakefile
latex-decode-0.2.0-java Rakefile
latex-decode-0.2.0 Rakefile