Obsolete
/
packaging
Archived
3
0
Fork 0

STDOUT.flush calls added.

master
Luka Vandervelden 2019-09-19 18:16:24 +02:00
parent f8fea34206
commit aadd404516
1 changed files with 3 additions and 0 deletions

View File

@ -213,14 +213,17 @@ class Package::Context
return if @verbosity < -3
puts ">> ".colorize(:green).mode(:bright).to_s +
s.colorize(:white).mode(:bright).to_s
STDOUT.flush
end
def info(s)
return if @verbosity < -2
puts ":: ".colorize(:green).to_s + s.colorize(:white).to_s
STDOUT.flush
end
def detail(s)
return if @verbosity < -1
puts ("+ " + s).colorize(:cyan)
STDOUT.flush
end
def package(package : Package) : Bool