Updating documentation.
This commit is contained in:
parent
e67a4cf593
commit
e92aa3dfb4
@ -26,6 +26,8 @@
|
||||
<li><a href="#date_creation">date_creation</a></li>
|
||||
<li><a href="#release">release</a></li>
|
||||
<li><a href="#arch">arch</a></li>
|
||||
<li><a href="#log">log</a></li>
|
||||
<li><a href="#success">success</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#SEE-ALSO">SEE ALSO</a></li>
|
||||
@ -99,6 +101,22 @@ $build->arch($arch);</code></pre>
|
||||
|
||||
<p>Allows to set and retrieve the architecture attribute.</p>
|
||||
|
||||
<h2 id="log">log</h2>
|
||||
|
||||
<pre><code>my $log = $build->log;
|
||||
|
||||
$build->log($log);</code></pre>
|
||||
|
||||
<p>Allows to set an retrieve the build log.</p>
|
||||
|
||||
<h2 id="success">success</h2>
|
||||
|
||||
<pre><code>my $success = $build->success;
|
||||
|
||||
$build->success($success);</code></pre>
|
||||
|
||||
<p>Allows to set and retrieve the build success status.</p>
|
||||
|
||||
<h1 id="SEE-ALSO">SEE ALSO</h1>
|
||||
|
||||
<p><a href="Release.pm.html">Peace::Model::Release</a>, <a href="https://metacpan.org/pod/Peace::DAO::Build">Peace::DAO::Build</a></p>
|
||||
|
@ -71,13 +71,11 @@
|
||||
|
||||
<h2 id="generate_build">generate_build</h2>
|
||||
|
||||
<p>my $result = $release->generate_build( arch => $arch );</p>
|
||||
<p>my $build = $release->generate_build( arch => $arch );</p>
|
||||
|
||||
<p>my ($success, $output) = @result{'success', 'output'};</p>
|
||||
<p>my $success = $build->success; my $log = $build->log;</p>
|
||||
|
||||
<p>Generates a build for a given arch of the release and returns the success status, any false value failed, any true value succeded and the output which combines stdout and stderr from the ran commands and some application specific data about whats being done.</p>
|
||||
|
||||
<p>The output log is thought to be human consumed, not automatically parsed.</p>
|
||||
<p>Attempts to build a flatpak for the release and unconditionally returns a <a href="Build.pm.html">Peace::Model::Build</a> object with the results of the build.</p>
|
||||
|
||||
<h2 id="uuid">uuid</h2>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user