Sha256: acaa5e1a03a31f75e82ed7b2c652db8b3ded721c6ae1037ef72c5b6745189545
Contents?: true
Size: 687 Bytes
Versions: 17
Compression:
Stored size: 687 Bytes
Contents
namespace :decko do namespace :tmpsets do # We have to load the environment with `env REPO_TMPSETS=true` in # development mode to trigger the tmpset generation. # There's probably a more elegant way? task :trigger do ENV["REPO_TMPSETS"] = "true" Rake::Task["decko:tmpsets:dummy"].invoke end # just load environment and trigger Card load task dummy: :environment do Card end task :copy do require "fileutils" require "cardio" target = "#{Cardio.gem_root}/tmpsets" FileUtils.rm_r Dir["#{target}/set*"] FileUtils.cp_r Dir["#{Cardio.root}/tmpsets/set*"], "#{Cardio.gem_root}/tmpsets" end end end
Version data entries
17 entries across 17 versions & 1 rubygems