Sha256: 43be651c4414d83d041708d53b85c3159f03a63c412a9b00d8140bbff3b6ac9f

Contents?: true

Size: 695 Bytes

Versions: 2

Compression:

Stored size: 695 Bytes

Contents

require 'bundler/gem_tasks'

desc 'Generate the manual'
task :manual do
  print 'Building manual... '
  require_relative 'examples/manual'
  puts 'DONE!'
end

desc 'Generate the readme'
task :readme do
  print 'Building readme... '
  require_relative 'examples/readme'
  print 'Extracting screenshots...'
  # Note: images 17, 18 and 19 need to be cropped at 309 (not 280) because they have more code
  `convert -density 175 -colorspace sRGB readme.pdf -resize 50% -quality 100 -crop 744x320+0+280 examples/screenshots/readme_%02d.png`
  puts 'DONE!'
end


require "rspec/core/rake_task"
require "rspec/core/version"

desc "Run all examples"
RSpec::Core::RakeTask.new :spec

task default: [:spec]

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
squid-1.0.0.beta4 Rakefile
squid-1.0.0.beta3 Rakefile