From 870ad48af64d5127a1ad189167c5a65c3bf763cd Mon Sep 17 00:00:00 2001 From: Ted Reed Date: Tue, 1 Sep 2009 23:48:47 -0700 Subject: [PATCH] Add a smolder target to the Rakefile to submit report.tar.gz to the appropriate website. --- Rakefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Rakefile b/Rakefile index 61517cf..6013d5c 100644 --- a/Rakefile +++ b/Rakefile @@ -236,6 +236,12 @@ task :report do chdir '..' end +desc "Submit a smolder report." +task :smolder => :report do + props = $meta['extra_properties'] + sh "curl -F \"architecture=#{props['Architecture']}\" -F \"platform=#{props['Platform']}\" -F \"revision=#{props['Commit']}\" -F \"report_file=@report.tar.gz\" http://smolder.plusthree.com/app/public_projects/process_add_report/16" +end + desc "Determine configuration information" task :config => "build.yaml" do require 'yaml'