Sha256: 250412c147cc5979d13d2cdcfbec328e42b77b74e19994723367aa8fc2c60d63

Contents?: true

Size: 400 Bytes

Versions: 28

Compression:

Stored size: 400 Bytes

Contents

require 'bundler/gem_tasks'
require 'rspec/core/rake_task'
require_relative 'lib/mn2pdf/version'

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

task :default => :spec

require 'open-uri'

file 'bin/mn2pdf.jar' do |file|
  ver = Mn2pdf::VERSION
  url = "https://github.com/metanorma/mn2pdf/releases/download/v#{ver}/mn2pdf-#{ver}.jar"
  File.open(file.name, 'wb') do |file|
    file.write open(url).read
  end
end

Version data entries

28 entries across 28 versions & 2 rubygems

Version Path
mn2pdf-1.41 Rakefile
mn2pdf-1.38.1 Rakefile
mn2pdf-1.36 Rakefile
mn2pdf-1.35 Rakefile
mn2pdf-1.34 Rakefile
mn2pdf-1.33 Rakefile
mn2pdf-1.32 Rakefile
mn2pdf-1.31.2 Rakefile
mn2pdf-1.31.1 Rakefile
mn2pdf-1.31 Rakefile
mn2pdf-1.30 Rakefile
mn2pdf-1.29 Rakefile
mn2pdf-1.28 Rakefile
mn2pdf-1.27 Rakefile
mn2pdf-1.26 Rakefile
mn2pdf-1.25 Rakefile
mn2pdf-1.24 Rakefile
mn2pdf-1.23 Rakefile
mn2pdf-1.22.2 Rakefile
mn2pdf-1.22.1 Rakefile