Skip to content

Commit

Permalink
puts the command we run to stdout too
Browse files Browse the repository at this point in the history
  • Loading branch information
marguerite committed Jan 10, 2016
1 parent c7545cc commit 0bf6e3f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions golang/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ module CLI

def self.run(command="")

# echo the command we run to the buildlog
puts command

IO.popen(command) {|f| f.each_line {|l| puts l}}

if $? == 0
Expand Down

0 comments on commit 0bf6e3f

Please sign in to comment.