Web: Add also subversion command to devinfo

This commit is contained in:
Tim Gerundt 2012-07-07 17:39:50 +02:00
parent 49198f52c4
commit 38be0db959
2 changed files with 13 additions and 2 deletions

View File

@ -42,8 +42,11 @@
<div class="wrap"> <div class="wrap">
<h2>Source Code</h2> <h2>Source Code</h2>
<p>Latest version can be found in the <a href="https://github.com/danmar/cppcheck/"> <p>Latest version can be found in the <a href="https://github.com/danmar/cppcheck/">
cppcheck git repository</a>. To download it, run the following command:</p> cppcheck git repository</a>.</p>
<pre>git clone git://github.com/danmar/cppcheck.git</pre> <p>To get the source code using git:</p>
<pre class="cmd">git clone git://github.com/danmar/cppcheck.git</pre>
<p>To get the source code using subversion:</p>
<pre class="cmd">svn checkout https://github.com/danmar/cppcheck/trunk</pre>
<p>You can also <a href="https://github.com/danmar/cppcheck/downloads">download <p>You can also <a href="https://github.com/danmar/cppcheck/downloads">download
the latest sources in a zip or tgz archive</a> from the github website.</p> the latest sources in a zip or tgz archive</a> from the github website.</p>
<h3>Recent Commits</h3> <h3>Recent Commits</h3>

View File

@ -136,6 +136,14 @@ pre.code em {
border: 1px solid #e2e2e2; border: 1px solid #e2e2e2;
} }
/* Command */
pre.cmd {
padding: .5em;
background: #f7f7f7;
border: 1px solid #c0c0c0;
border-left: 10px solid #c0c0c0;
}
/* Results table */ /* Results table */
#resultsTable { #resultsTable {
border-collapse: collapse; border-collapse: collapse;