Browse files

Adjust command-line output.

  • Loading branch information...
1 parent 6df0645 commit 4d65aefafae2352e8530ebc1ada57ffcd81a1e1b @jcoglan committed Apr 7, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 bin/jake
View
4 bin/jake
@@ -37,11 +37,11 @@ build = Jake::Build.new(dir, opts)
build.on(:file_created) do |build, pkg, build_type, path|
size = (File.size(path) / 1024.0).ceil
- puts LOG_FORMAT % [pkg.name, build_type, path.gsub(dir, ''), "#{ size } kB"]
+ puts LOG_FORMAT % [pkg.name, build_type, path.gsub(dir + '/', ''), "#{ size } kB"]
end
build.on(:file_not_changed) do |build, pkg, build_type, path|
- puts LOG_FORMAT % [pkg.name, build_type, path.gsub(dir, ''), 'UP-TO-DATE']
+ puts LOG_FORMAT % [pkg.name, build_type, path.gsub(dir + '/', ''), '--']
end
build.run!

0 comments on commit 4d65aef

Please sign in to comment.