Sha256: d12b46957c12b0a1e5b8406a135f69a65cd00aa25e94dbe5a55d71c84231d594

Contents?: true

Size: 531 Bytes

Versions: 14

Compression:

Stored size: 531 Bytes

Contents

namespace :relish do
  def run(cmd)
    require 'open3'
    puts "Running '#{cmd}'"
    Open3.popen3(cmd) do |_, o, e, _|
      puts 'STDOUT:'
      puts o.readlines
      puts
      puts 'STDERR:'
      puts e.readlines
    end
  end

  desc 'Publish to relish'
  task :push do
    run 'relish push jedcn/reveal-ck'
  end

  # I used this to initialize relish. I don't think I'll need to run
  # it again.. so there's no "desc," but it's here just in case.
  task :init do
    run 'relish projects:add jedcn/reveal-ck'
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
reveal-ck-3.8.0 rakelib/relish.rake
reveal-ck-3.7.0 rakelib/relish.rake
reveal-ck-3.6.0 rakelib/relish.rake
reveal-ck-3.5.1 rakelib/relish.rake
reveal-ck-3.5.0 rakelib/relish.rake
reveal-ck-3.4.0 rakelib/relish.rake
reveal-ck-3.3.1 rakelib/relish.rake
reveal-ck-3.3.0 rakelib/relish.rake
reveal-ck-3.2.0 rakelib/relish.rake
reveal-ck-3.1.0 rakelib/relish.rake
reveal-ck-3.0.1 rakelib/relish.rake
reveal-ck-3.0.0 rakelib/relish.rake
reveal-ck-0.6.2 rakelib/relish.rake
reveal-ck-0.6.1 rakelib/relish.rake