Adding some new build files for Linux native build

This commit is contained in:
Rick Falkvinge
2016-09-18 16:45:17 +02:00
parent e4d1b9edee
commit c59b0103ab
9 changed files with 652 additions and 0 deletions
@@ -0,0 +1,109 @@
body, table, form, input, td, th, p, textarea, select
{
font-family: verdana, helvetica, arial;
font-size: 11px;
}
a:hover { color:#FC0; }
.main-panel { color:#FC0; }
.link { color:#00F; }
.buildresults-header { color: #000; font-weight: bold; }
.buildresults-data { color: #000; }
.buildresults-data-failed { color: #F30; }
.stylesection { margin-left: 4px; }
.header-title { font-size:12px; color:#000; font-weight:bold; padding-bottom:10pt; }
.header-label { font-weight:bold; }
.header-data { color:#000; }
.header-data-error { color:#000; white-space:pre; }
.section-table { margin-top:10px; }
.sectionheader { background-color:#227; color:#FFF; }
.section-data { font-size:9px; color:#000; }
.section-oddrow { background-color:#F0F7FF; }
.section-evenrow { background-color:#FFF; }
.section-project { font-size:11px; color:black; padding-top:8px; }
.section-error { font-size:10px; color:red; white-space:nowrap; }
.section-warning { font-size:10px; color:orange; white-space:nowrap; }
.warning { color:orange }
.error { color:red }
.RecentBuildsPanel {
border-style: solid;
border-width: 1px;
border-color: #333399;
margin-bottom:5;
}
.RecentBuildsPanel th
{
background-color: #333399;
text-align: center;
font-weight: bold;
padding: 3px;
color: ivory;
}
.RecentBuildsPanel td {
padding: 3;
background-color: white;
}
.breadcrumbs
{
color: darkgrey;
}
.breadcrumbs a {
color: ivory;
text-decoration: none;
}
.breadcrumbs a:hover
{
color:#FC0;
}
.ProjectGridHeader
{
color: ivory;
}
.ProjectGridHeader a {
color: ivory;
text-decoration: none;
}
.ProjectGridHeader a:hover
{
color:#FC0;
}
.SideBar a
{
text-decoration: none;
color: #333399;
}
.SideBar .build-passed-link { color:Green; text-decoration:none; }
.SideBar .build-failed-link { color:Red; text-decoration:none; }
.build-passed-link { color:Green; text-decoration:none; }
.build-failed-link { color:Red; text-decoration:none; }
.log
{
overflow: auto;
}
.wholepage
{
background-color: #000066;
}
.TopControls
{
background-color: #333399;
color: ivory;
}
@@ -0,0 +1,51 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright © 2006 by Christian Rodemeyer (mailto:christian@atombrenner.de) -->
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/02/xpath-functions" xmlns:xdt="http://www.w3.org/2005/02/xpath-datatypes">
<xsl:output method="html" version="1.0" encoding="UTF-8" indent="no"/>
<xsl:template match="/">
<xsl:apply-templates select="//msbuild" />
</xsl:template>
<xsl:template match="msbuild">
<table class="section-table" cellpadding="2" cellspacing="0" border="0" width="98%">
<tr><td class="sectionheader">
<b><xsl:value-of select="@solution_name"/></b> in <xsl:value-of select="@solution_dir"/>:
<xsl:choose>
<xsl:when test="@error_count > 0">
Build failed with <xsl:value-of select="@error_count"/> errors
</xsl:when>
<xsl:when test="@warning_count > 0">
<xsl:value-of select="@project_count"/> Projects built with <xsl:value-of select="@warning_count"/> warnings
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="@project_count"/> Projects built with no warnings at all :-)
</xsl:otherwise>
</xsl:choose>
</td></tr>
<xsl:if test="@error_count = 0 and @warning_count = 0"> <tr><td><img src="/ccnet/your_happy_image.jpg" alt="Happy Image :-)" /> Juchuu !!!</td></tr></xsl:if>
<xsl:apply-templates select="project[error|warning]" />
</table>
</xsl:template>
<xsl:template match="project" >
<tr>
<td class="section-project">
<b><xsl:value-of select="@name"/></b> in <xsl:value-of select="@dir"/>:
</td>
</tr>
<tr>
<xsl:element name="td">
<xsl:attribute name="class">
<xsl:if test="../@error_count > 0">section-error</xsl:if>
<xsl:if test="../@error_count &lt;= 0">section-warning</xsl:if>
</xsl:attribute>
<xsl:apply-templates/>
</xsl:element>
</tr>
</xsl:template>
<xsl:template match="error|warning">
<xsl:value-of select="@code" />: <xsl:value-of select="@message" /> in <xsl:value-of select="@name" /><xsl:value-of select="@pos"/><br/>
</xsl:template>
</xsl:stylesheet>