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