Sha256: daab1670d73c694cc1845661c4f44918a797c154cbce517039991d76b81f0739

Contents?: true

Size: 528 Bytes

Versions: 3

Compression:

Stored size: 528 Bytes

Contents

# frozen_string_literal: true

require 'bundler'
require 'rake/testtask'
require 'jars/installer'
Bundler::GemHelper.install_tasks
Bundler.setup

task :default => %i[vendor_jars test]

desc 'Vendor Jars'
task :vendor_jars do
  test_file = File.expand_path File.join('lib', 'image_voodoo_jars.rb'), __dir__
  Jars::Installer.vendor_jars! unless File.exist? test_file
end

desc 'Run tests'
task :test => :vendor_jars do
  Rake::TestTask.new do |t|
    t.libs << 'lib:vendor'
    t.test_files = FileList['test/test*.rb']
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
image_voodoo-0.9.3 Rakefile
image_voodoo-0.9.2 Rakefile
image_voodoo-0.9.1 Rakefile