Sha256: 50e70fc93290a21a894bb7a2ac86cd8fb645a50e6b3cfc75c1af09f23929b868

Contents?: true

Size: 449 Bytes

Versions: 5

Compression:

Stored size: 449 Bytes

Contents

begin
  require 'fasterer'

  namespace :bake do
    task :fasterer do
      RakeNBake::AssistantBaker.log_step 'Running Fasterer'
      system('fasterer')
    end
  end

rescue LoadError
  tasks = %w[ fasterer ]

  namespace :bake do
    tasks.map(&:to_sym).each do |t|
      desc 'fasterer is not available (gem not installed)'
      task t do
        RakeNBake::AssistantBaker.log_missing_gem 'fasterer'
        abort
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rake-n-bake-1.4.1 tasks/fasterer.rake
rake-n-bake-1.4.0 tasks/fasterer.rake
rake-n-bake-1.3.3 tasks/fasterer.rake
rake-n-bake-1.3.1 tasks/fasterer.rake
rake-n-bake-1.3.0 tasks/fasterer.rake