Skip to content

Commit

Permalink
deploy: 7fb0476
Browse files Browse the repository at this point in the history
  • Loading branch information
casey committed May 25, 2024
1 parent c07eef2 commit 7d50ffc
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 2 deletions.
14 changes: 14 additions & 0 deletions man/en/chapter_32.html
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,20 @@ <h4 id="justfile-and-justfile-directory"><a class="header" href="#justfile-and-j
<pre><code class="language-just">script:
./{{justfile_directory()}}/scripts/some_script
</code></pre>
<h4 id="source-and-source-directory"><a class="header" href="#source-and-source-directory">Source and Source Directory</a></h4>
<ul>
<li>
<p><code>source()</code><sup>master</sup> - Retrieves the path of the current source file.</p>
</li>
<li>
<p><code>source_directory()</code><sup>master</sup> - Retrieves the path of the parent directory of the
current source file.</p>
</li>
</ul>
<p><code>source()</code> and <code>source_directory()</code> behave the same as <code>justfile()</code> and
<code>justfile_directory()</code> in the root <code>justfile</code>, but will return the path and
directory, respectively, of the current <code>import</code> or <code>mod</code> source file when
called from within an import or submodule.</p>
<h4 id="just-executable"><a class="header" href="#just-executable">Just Executable</a></h4>
<ul>
<li><code>just_executable()</code> - Absolute path to the <code>just</code> executable.</li>
Expand Down
14 changes: 14 additions & 0 deletions man/en/print.html
Original file line number Diff line number Diff line change
Expand Up @@ -1241,6 +1241,20 @@ <h4 id="justfile-and-justfile-directory"><a class="header" href="#justfile-and-j
<pre><code class="language-just">script:
./{{justfile_directory()}}/scripts/some_script
</code></pre>
<h4 id="source-and-source-directory"><a class="header" href="#source-and-source-directory">Source and Source Directory</a></h4>
<ul>
<li>
<p><code>source()</code><sup>master</sup> - Retrieves the path of the current source file.</p>
</li>
<li>
<p><code>source_directory()</code><sup>master</sup> - Retrieves the path of the parent directory of the
current source file.</p>
</li>
</ul>
<p><code>source()</code> and <code>source_directory()</code> behave the same as <code>justfile()</code> and
<code>justfile_directory()</code> in the root <code>justfile</code>, but will return the path and
directory, respectively, of the current <code>import</code> or <code>mod</code> source file when
called from within an import or submodule.</p>
<h4 id="just-executable"><a class="header" href="#just-executable">Just Executable</a></h4>
<ul>
<li><code>just_executable()</code> - Absolute path to the <code>just</code> executable.</li>
Expand Down
2 changes: 1 addition & 1 deletion man/en/searchindex.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion man/en/searchindex.json

Large diffs are not rendered by default.

0 comments on commit 7d50ffc

Please sign in to comment.