Sha256: 235da1dfdffcc62b9c33f4a7c37d0c00c67631fc9fd94eaf05380445698d88c1

Contents?: true

Size: 706 Bytes

Versions: 2

Compression:

Stored size: 706 Bytes

Contents

# encoding: utf-8
#
# Copyright October 2014, Jesse Doyle. All rights reserved.
#
# This is free software. Please see the LICENSE and COPYING files for details.

require 'bundler'
Bundler.setup

require 'rake'
require 'rspec/core/rake_task'

task :default => [:spec]

desc 'Run all rspec files'
RSpec::Core::RakeTask.new('spec') do |c|
  c.rspec_opts = '-t ~unresolved'
end

desc 'Generate the legend documents for all icon fonts.'
task :legend do
  example = File.join(File.dirname(__FILE__), 'examples', '*.rb')
  files = Dir[example]
  files.reject! { |f| File.basename(f) == 'example_helper.rb' }
  files.each do |file|
    puts "Generating from: #{file}"
    require file
  end
  puts 'All Done!'
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
prawn-icon-0.5.1 Rakefile
prawn-icon-0.5.0 Rakefile