Sha256: 99ebceb2cff89ad53525f134972e2b9e5b3bea288c95a81354f33a1d1024c60f

Contents?: true

Size: 529 Bytes

Versions: 1

Compression:

Stored size: 529 Bytes

Contents

require 'rubygems'
require 'rake'
require 'rake/clean'
require 'fileutils'
require 'echoe'

version = YAML.load_file(File.join(File.dirname(__FILE__), 'VERSION.yml')).join('.') rescue nil

echoe = Echoe.new('in_threads', version) do |p|
  p.author = 'toy'
  p.summary = 'Execute ruby code in parallel.'
  p.project = 'toytoy'
end

desc "Replace system gem with symlink to this folder"
task :ghost do
  path = Gem.searcher.find(echoe.name).full_gem_path
  system 'sudo', 'rm', '-r', path
  symlink File.expand_path('.'), path
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
in_threads-0.0.1 Rakefile