Sha256: 0c176db75c39165d4053d948da9d8c19339beab301a2bd2a341ce6a9883e2bda

Contents?: true

Size: 328 Bytes

Versions: 7

Compression:

Stored size: 328 Bytes

Contents

#!/usr/bin/env ruby

require 'matrixci'

scope = ARGV[0]

if ["", "all"].include?(scope)
  MatrixCi::Project.all.each do |project|
    project.all_recent_builds.each do |build|
      puts build.to_s
    end
  end
elsif ["show", "cancel", "retry"].include?(scope)
  buildid = ARGV[1]
  MatrixCi::Project.send(scope, buildid)
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
matrixci-0.0.7 bin/ci
matrixci-0.0.6 bin/ci
matrixci-0.0.5 bin/ci
matrixci-0.0.4 bin/ci
matrixci-0.0.3 bin/ci
matrixci-0.0.2 bin/ci
matrixci-0.0.1 bin/ci