Tidy up
This commit is contained in:
@@ -7,13 +7,9 @@ pipeline = PipelineClient.new
|
||||
# return
|
||||
lang = ARGV[0] || "ruby"
|
||||
lang = "ruby"
|
||||
# pipeline.build_test_runner(lang)
|
||||
|
||||
|
||||
# pipeline.release_latest(lang)
|
||||
# exit
|
||||
r = pipeline.analyze(lang, "two-fer", "soln-42", "s3://exercism-dev/iterations/fff07700-e1c3-402d-8937-823aeefb159f")
|
||||
puts r
|
||||
# puts r
|
||||
if r["logs"]
|
||||
r["logs"].each do |log_line|
|
||||
puts "+ #{log_line["cmd"]}"
|
||||
@@ -23,3 +19,5 @@ if r["logs"]
|
||||
end
|
||||
|
||||
puts r["result"]
|
||||
|
||||
pipeline.close_socket
|
||||
|
||||
@@ -4,7 +4,8 @@ $LOAD_PATH.unshift File.expand_path("../../lib", __FILE__)
|
||||
|
||||
require "pipeline"
|
||||
|
||||
env_base = ARGV[0]
|
||||
worker_identity = ARGV[0]
|
||||
env_base = ARGV[1]
|
||||
|
||||
server = Pipeline::Rpc::Worker.new(env_base)
|
||||
server = Pipeline::Rpc::Worker.new(worker_identity, env_base)
|
||||
server.listen
|
||||
|
||||
Reference in New Issue
Block a user