Skip to content

Commit

Permalink
Adds the architecture, branch, and platform extra_properties to the T…
Browse files Browse the repository at this point in the history
…AP archive.
  • Loading branch information
treed committed Aug 25, 2009
1 parent eb932f5 commit 7ccf0ae
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Rakefile
Expand Up @@ -201,6 +201,11 @@ task :report do
$meta['file_order'] = Array.new
Task['test:all'].invoke
$meta['stop_time'] = Time.now.to_i
$meta['extra_properties'] = {
'Architecture' => `uname -p`.chomp,
'Platform' => `uname -s`.chomp,
'Branch' => `git status`.split('\n')[0].split(' ')[3]
}
require 'yaml'
File.open('report/meta.yml','w') do |f|
YAML::dump($meta, f)
Expand Down

0 comments on commit 7ccf0ae

Please sign in to comment.