aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Contributions/cmds/brew-test-bot.commit.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Contributions/cmds/brew-test-bot.commit.html.erb')
-rw-r--r--Library/Contributions/cmds/brew-test-bot.commit.html.erb24
1 files changed, 24 insertions, 0 deletions
diff --git a/Library/Contributions/cmds/brew-test-bot.commit.html.erb b/Library/Contributions/cmds/brew-test-bot.commit.html.erb
new file mode 100644
index 000000000..c820263a7
--- /dev/null
+++ b/Library/Contributions/cmds/brew-test-bot.commit.html.erb
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <title>BrewBot: <%= @test.name %></title>
+ <title>BrewBot</title>
+ <style>
+ <%= css %>
+ </style>
+</head>
+<body>
+ <div>
+ <h1><a href="../index.html">BrewBot</a></h1>
+ <h2><%= @test.name %> <%= DateTime.now.strftime "%T %D" %></h2>
+ <table>
+ <% for step in @test.steps %>
+ <tr>
+ <td><span class="prompt">$</span> <%= step.command %></td>
+ <td class='status <%= step.status %>'><a href='<%= step.log_file_path false %> '><%= step.status_upcase %></a></td>
+ </tr>
+ <% end %>
+ </table>
+ </div>
+</body>
+</html>