mirror of
https://github.com/casey/just.git
synced 2024-11-22 10:26:26 +03:00
deploy: 862d6a52ab
This commit is contained in:
parent
029cbbfd14
commit
1f6b8bb3d5
@ -282,6 +282,12 @@ The executable is at: /bin/just
|
|||||||
<h5 id="error-reporting"><a class="header" href="#error-reporting">Error Reporting</a></h5>
|
<h5 id="error-reporting"><a class="header" href="#error-reporting">Error Reporting</a></h5>
|
||||||
<ul>
|
<ul>
|
||||||
<li><code>error(message)</code> - Abort execution and report error <code>message</code> to user.</li>
|
<li><code>error(message)</code> - Abort execution and report error <code>message</code> to user.</li>
|
||||||
|
</ul>
|
||||||
|
<h4 id="uuid-and-hash-generation"><a class="header" href="#uuid-and-hash-generation">UUID and Hash Generation</a></h4>
|
||||||
|
<ul>
|
||||||
|
<li><code>sha256(string)</code> - Return the SHA-256 hash of <code>string</code> as a hexadecimal string.</li>
|
||||||
|
<li><code>sha256_file(path)</code> - Return the SHA-256 hash of the file at <code>path</code> as a hexadecimal string.</li>
|
||||||
|
<li><code>uuid()</code> - Return a randomly generated UUID.</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
</main>
|
</main>
|
||||||
|
@ -851,6 +851,12 @@ The executable is at: /bin/just
|
|||||||
<ul>
|
<ul>
|
||||||
<li><code>error(message)</code> - Abort execution and report error <code>message</code> to user.</li>
|
<li><code>error(message)</code> - Abort execution and report error <code>message</code> to user.</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
<h4 id="uuid-and-hash-generation"><a class="header" href="#uuid-and-hash-generation">UUID and Hash Generation</a></h4>
|
||||||
|
<ul>
|
||||||
|
<li><code>sha256(string)</code> - Return the SHA-256 hash of <code>string</code> as a hexadecimal string.</li>
|
||||||
|
<li><code>sha256_file(path)</code> - Return the SHA-256 hash of the file at <code>path</code> as a hexadecimal string.</li>
|
||||||
|
<li><code>uuid()</code> - Return a randomly generated UUID.</li>
|
||||||
|
</ul>
|
||||||
<div style="break-before: page; page-break-before: always;"></div><h3 id="command-evaluation-using-backticks"><a class="header" href="#command-evaluation-using-backticks">Command Evaluation Using Backticks</a></h3>
|
<div style="break-before: page; page-break-before: always;"></div><h3 id="command-evaluation-using-backticks"><a class="header" href="#command-evaluation-using-backticks">Command Evaluation Using Backticks</a></h3>
|
||||||
<p>Backticks can be used to store the result of commands:</p>
|
<p>Backticks can be used to store the result of commands:</p>
|
||||||
<pre><code class="language-make">localhost := `dumpinterfaces | cut -d: -f2 | sed 's/\/.*//' | sed 's/ //g'`
|
<pre><code class="language-make">localhost := `dumpinterfaces | cut -d: -f2 | sed 's/\/.*//' | sed 's/ //g'`
|
||||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user