Skip to content

Commit 0bd6502

Browse files
committed
updated site
1 parent 5164a49 commit 0bd6502

9 files changed

Lines changed: 41 additions & 41 deletions

File tree

2.x/docs/en/concepts/sbt-query.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ <h1 id="sbt-query"><a class="header" href="#sbt-query">sbt query</a></h1>
213213
<p><em>act</em> <code>::=</code> [ <em>query</em> <code>/</code> ] [ <em>config</em> <code>/</code> ] [ <em>in-task</em> <code>/</code> ] ( <em>taskKey</em> | <em>settingKey</em> )</p>
214214
<p>In other words, sbt query is a new way of writing the subproject-axis.</p>
215215
<h3 id="subproject-reference"><a class="header" href="#subproject-reference">Subproject reference</a></h3>
216-
<p>A subproject reference works a query to select the subproject:</p>
216+
<p>A subproject reference works as a query to select the subproject:</p>
217217
<div id="admonition-buildsbt-example-1" class="admonition admonish-example" role="note" aria-labelledby="admonition-buildsbt-example-1-title">
218218
<div class="admonition-title">
219219
<div id="admonition-buildsbt-example-1-title">

2.x/docs/en/print.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1930,7 +1930,7 @@ <h2 id="project-matrix"><a class="header" href="#project-matrix">Project matrix<
19301930
<p><em>act</em> <code>::=</code> [ <em>query</em> <code>/</code> ] [ <em>config</em> <code>/</code> ] [ <em>in-task</em> <code>/</code> ] ( <em>taskKey</em> | <em>settingKey</em> )</p>
19311931
<p>In other words, sbt query is a new way of writing the subproject-axis.</p>
19321932
<h3 id="subproject-reference"><a class="header" href="#subproject-reference">Subproject reference</a></h3>
1933-
<p>A subproject reference works a query to select the subproject:</p>
1933+
<p>A subproject reference works as a query to select the subproject:</p>
19341934
<div id="admonition-buildsbt-example-1" class="admonition admonish-example" role="note" aria-labelledby="admonition-buildsbt-example-1-title">
19351935
<div class="admonition-title">
19361936
<div id="admonition-buildsbt-example-1-title">

2.x/docs/en/searchindex.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

2.x/docs/ja/concepts/sbt-query.html

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -209,11 +209,11 @@ <h1 class="menu-title">The Book of sbt</h1>
209209
<div id="content" class="content">
210210
<main>
211211
<h1 id="sbt-クエリ"><a class="header" href="#sbt-クエリ">sbt クエリ</a></h1>
212-
<p>sbt 2.x extends the slash syntax to enable aggregation of subprojects:</p>
212+
<p>sbt 2.x はスラッシュ構文を拡張してサブプロジェクトの集約を可能とする:</p>
213213
<p><em>act</em> <code>::=</code> [ <em>query</em> <code>/</code> ] [ <em>config</em> <code>/</code> ] [ <em>in-task</em> <code>/</code> ] ( <em>taskKey</em> | <em>settingKey</em> )</p>
214-
<p>In other words, sbt query is a new way of writing the subproject-axis.</p>
215-
<h3 id="subproject-reference"><a class="header" href="#subproject-reference">Subproject reference</a></h3>
216-
<p>A subproject reference works a query to select the subproject:</p>
214+
<p>言い換えると、sbt クエリはサブプロジェクト軸の新しい書き方だと言える。</p>
215+
<h3 id="サブプロジェクトの参照"><a class="header" href="#サブプロジェクトの参照">サブプロジェクトの参照</a></h3>
216+
<p>サブプロジェクトの参照は、サブプロジェクトを選択するクエリとしてそのまま使える:</p>
217217
<div id="admonition-buildsbt-example-1" class="admonition admonish-example" role="note" aria-labelledby="admonition-buildsbt-example-1-title">
218218
<div class="admonition-title">
219219
<div id="admonition-buildsbt-example-1-title">
@@ -228,26 +228,26 @@ <h3 id="subproject-reference"><a class="header" href="#subproject-reference">Sub
228228
</code></pre>
229229
</div>
230230
</div>
231-
<p>Given the above build, we can run tests on <code>foo</code> subproject as follows, which is the same syntax as it was in sbt 1.x:</p>
231+
<p>上のようなビルドがあるとき、sbt 1.x と同様の構文を使って <code>foo</code> サブプロジェクトのテストを実行できる:</p>
232232
<pre><code>foo/test
233233
</code></pre>
234-
<h3 id="-wildcard"><a class="header" href="#-wildcard"><code>...</code> wildcard</a></h3>
235-
<p><code>...</code> wildcard matches to any characters, and can be combined with other letters and numbers to filter down the root aggregate list. For example, we can run tests on all subproject that starts with <code>foo</code> as follows:</p>
234+
<h3 id="-ワイルドカード"><a class="header" href="#-ワイルドカード"><code>...</code> ワイルドカード</a></h3>
235+
<p><code>...</code> ワイルドカードはどの文字列にもマッチして、他の文字や数字とも組み合わせて、ルートの集約リストを絞り込むことができる。例えば、以下のようにして <code>foo</code> で始まる全サブプロジェクトのテストを実行することができる:</p>
236236
<pre><code>foo.../test
237237
</code></pre>
238-
<div id="admonition-note--vs-" class="admonition admonish-note" role="note" aria-labelledby="admonition-note--vs--title">
238+
<div id="admonition-備考--vs-" class="admonition admonish-note" role="note" aria-labelledby="admonition-備考--vs--title">
239239
<div class="admonition-title">
240-
<div id="admonition-note--vs--title">
241-
<p>Note: * vs ...</p>
240+
<div id="admonition-備考--vs--title">
241+
<p>備考: * vs ...</p>
242242
</div>
243-
<a class="admonition-anchor-link" href="#admonition-note--vs-"></a>
243+
<a class="admonition-anchor-link" href="#admonition-備考--vs-"></a>
244244
</div>
245245
<div>
246-
<p>sbt query intentionally uses <code>...</code> (dot dot dot) instead of more intuitive <code>*</code> (asterisk) because <code>*</code> is often used in a shell as a wildcard to match existing files or directories. This would require quoting, and forgetting to quote <code>*/test</code> would match to something like <code>src/test</code>.</p>
246+
<p>sbt クエリは、直感的に分かりやすそうな <code>*</code> (アスタリスク) でなく、意図的に <code>...</code> (ドット・ドット・ドット) を採用する。これは <code>*</code> がシェル環境においてワイルドカードとして使われることが多いからだ。そのため、常にクォートで囲む必要があり、また <code>*/test</code> をクォートし忘れると <code>src/test</code> のようなディレクトリにマッチしてしまう可能性が高い。</p>
247247
</div>
248248
</div>
249-
<h3 id="scalabinaryversion-parameter"><a class="header" href="#scalabinaryversion-parameter"><code>@scalaBinaryVersion</code> parameter</a></h3>
250-
<p><code>@scalaBinaryVersion</code> parameter matches to the subproject's <code>scalaBinaryVersion</code> setting.</p>
249+
<h3 id="scalabinaryversion-パラメータ"><a class="header" href="#scalabinaryversion-パラメータ"><code>@scalaBinaryVersion</code> パラメータ</a></h3>
250+
<p><code>@scalaBinaryVersion</code> パラメータは、サブプロジェクトの <code>scalaBinaryVersion</code> セッティングにマッチする。</p>
251251
<div id="admonition-example" class="admonition admonish-example" role="note" aria-labelledby="admonition-example-title">
252252
<div class="admonition-title">
253253
<div id="admonition-example-title">
@@ -273,10 +273,10 @@ <h3 id="scalabinaryversion-parameter"><a class="header" href="#scalabinaryversio
273273
</code></pre>
274274
</div>
275275
</div>
276-
<p>For example, we can run tests on all 3.x subprojects as follows:</p>
276+
<p>例えば、全ての 3.x サブプロジェクトのテストを以下のように実行できる:</p>
277277
<pre><code>...@scalaBinaryVersion=3/test
278278
</code></pre>
279-
<p>This can be used from a terminal as follows:</p>
279+
<p>以下のように、ターミナル上からも使うことができる:</p>
280280
<pre><code class="language-bash">$ sbt ...@scalaBinaryVersion=3/test
281281
[info] entering *experimental* thin client - BEEP WHIRR
282282
[info] terminate the server with `shutdown`
@@ -290,7 +290,7 @@ <h3 id="scalabinaryversion-parameter"><a class="header" href="#scalabinaryversio
290290
+ Scala version 0.003s
291291
[info] Passed: Total 1, Failed 0, Errors 0, Passed 1
292292
</code></pre>
293-
<p>This lets us filter down the aggregated subprojects, which could be a lot using <code>projectMatrix</code>.</p>
293+
<p><code>projectMatrix</code> を使っていると集約サブプロジェクトの絞り込みが欲しくなる場面が多々あるが、sbt クエリがこれが解決する。</p>
294294

295295
</main>
296296

2.x/docs/ja/print.html

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1814,11 +1814,11 @@ <h2 id="project-matrix"><a class="header" href="#project-matrix">Project matrix<
18141814
</code></pre>
18151815
<p>セットアップに関しては、<a href="concepts/../reference/cross-building-setup.html">cross building setup</a> 参照。</p>
18161816
<div style="break-before: page; page-break-before: always;"></div><h1 id="sbt-クエリ-1"><a class="header" href="#sbt-クエリ-1">sbt クエリ</a></h1>
1817-
<p>sbt 2.x extends the slash syntax to enable aggregation of subprojects:</p>
1817+
<p>sbt 2.x はスラッシュ構文を拡張してサブプロジェクトの集約を可能とする:</p>
18181818
<p><em>act</em> <code>::=</code> [ <em>query</em> <code>/</code> ] [ <em>config</em> <code>/</code> ] [ <em>in-task</em> <code>/</code> ] ( <em>taskKey</em> | <em>settingKey</em> )</p>
1819-
<p>In other words, sbt query is a new way of writing the subproject-axis.</p>
1820-
<h3 id="subproject-reference"><a class="header" href="#subproject-reference">Subproject reference</a></h3>
1821-
<p>A subproject reference works a query to select the subproject:</p>
1819+
<p>言い換えると、sbt クエリはサブプロジェクト軸の新しい書き方だと言える。</p>
1820+
<h3 id="サブプロジェクトの参照"><a class="header" href="#サブプロジェクトの参照">サブプロジェクトの参照</a></h3>
1821+
<p>サブプロジェクトの参照は、サブプロジェクトを選択するクエリとしてそのまま使える:</p>
18221822
<div id="admonition-buildsbt-example-1" class="admonition admonish-example" role="note" aria-labelledby="admonition-buildsbt-example-1-title">
18231823
<div class="admonition-title">
18241824
<div id="admonition-buildsbt-example-1-title">
@@ -1833,26 +1833,26 @@ <h3 id="subproject-reference"><a class="header" href="#subproject-reference">Sub
18331833
</code></pre>
18341834
</div>
18351835
</div>
1836-
<p>Given the above build, we can run tests on <code>foo</code> subproject as follows, which is the same syntax as it was in sbt 1.x:</p>
1836+
<p>上のようなビルドがあるとき、sbt 1.x と同様の構文を使って <code>foo</code> サブプロジェクトのテストを実行できる:</p>
18371837
<pre><code>foo/test
18381838
</code></pre>
1839-
<h3 id="-wildcard"><a class="header" href="#-wildcard"><code>...</code> wildcard</a></h3>
1840-
<p><code>...</code> wildcard matches to any characters, and can be combined with other letters and numbers to filter down the root aggregate list. For example, we can run tests on all subproject that starts with <code>foo</code> as follows:</p>
1839+
<h3 id="-ワイルドカード"><a class="header" href="#-ワイルドカード"><code>...</code> ワイルドカード</a></h3>
1840+
<p><code>...</code> ワイルドカードはどの文字列にもマッチして、他の文字や数字とも組み合わせて、ルートの集約リストを絞り込むことができる。例えば、以下のようにして <code>foo</code> で始まる全サブプロジェクトのテストを実行することができる:</p>
18411841
<pre><code>foo.../test
18421842
</code></pre>
1843-
<div id="admonition-note--vs-" class="admonition admonish-note" role="note" aria-labelledby="admonition-note--vs--title">
1843+
<div id="admonition-備考--vs-" class="admonition admonish-note" role="note" aria-labelledby="admonition-備考--vs--title">
18441844
<div class="admonition-title">
1845-
<div id="admonition-note--vs--title">
1846-
<p>Note: * vs ...</p>
1845+
<div id="admonition-備考--vs--title">
1846+
<p>備考: * vs ...</p>
18471847
</div>
1848-
<a class="admonition-anchor-link" href="concepts/sbt-query.html#admonition-note--vs-"></a>
1848+
<a class="admonition-anchor-link" href="concepts/sbt-query.html#admonition-備考--vs-"></a>
18491849
</div>
18501850
<div>
1851-
<p>sbt query intentionally uses <code>...</code> (dot dot dot) instead of more intuitive <code>*</code> (asterisk) because <code>*</code> is often used in a shell as a wildcard to match existing files or directories. This would require quoting, and forgetting to quote <code>*/test</code> would match to something like <code>src/test</code>.</p>
1851+
<p>sbt クエリは、直感的に分かりやすそうな <code>*</code> (アスタリスク) でなく、意図的に <code>...</code> (ドット・ドット・ドット) を採用する。これは <code>*</code> がシェル環境においてワイルドカードとして使われることが多いからだ。そのため、常にクォートで囲む必要があり、また <code>*/test</code> をクォートし忘れると <code>src/test</code> のようなディレクトリにマッチしてしまう可能性が高い。</p>
18521852
</div>
18531853
</div>
1854-
<h3 id="scalabinaryversion-parameter"><a class="header" href="#scalabinaryversion-parameter"><code>@scalaBinaryVersion</code> parameter</a></h3>
1855-
<p><code>@scalaBinaryVersion</code> parameter matches to the subproject's <code>scalaBinaryVersion</code> setting.</p>
1854+
<h3 id="scalabinaryversion-パラメータ"><a class="header" href="#scalabinaryversion-パラメータ"><code>@scalaBinaryVersion</code> パラメータ</a></h3>
1855+
<p><code>@scalaBinaryVersion</code> パラメータは、サブプロジェクトの <code>scalaBinaryVersion</code> セッティングにマッチする。</p>
18561856
<div id="admonition-example" class="admonition admonish-example" role="note" aria-labelledby="admonition-example-title">
18571857
<div class="admonition-title">
18581858
<div id="admonition-example-title">
@@ -1878,10 +1878,10 @@ <h3 id="scalabinaryversion-parameter"><a class="header" href="#scalabinaryversio
18781878
</code></pre>
18791879
</div>
18801880
</div>
1881-
<p>For example, we can run tests on all 3.x subprojects as follows:</p>
1881+
<p>例えば、全ての 3.x サブプロジェクトのテストを以下のように実行できる:</p>
18821882
<pre><code>...@scalaBinaryVersion=3/test
18831883
</code></pre>
1884-
<p>This can be used from a terminal as follows:</p>
1884+
<p>以下のように、ターミナル上からも使うことができる:</p>
18851885
<pre><code class="language-bash">$ sbt ...@scalaBinaryVersion=3/test
18861886
[info] entering *experimental* thin client - BEEP WHIRR
18871887
[info] terminate the server with `shutdown`
@@ -1895,7 +1895,7 @@ <h3 id="scalabinaryversion-parameter"><a class="header" href="#scalabinaryversio
18951895
+ Scala version 0.003s
18961896
[info] Passed: Total 1, Failed 0, Errors 0, Passed 1
18971897
</code></pre>
1898-
<p>This lets us filter down the aggregated subprojects, which could be a lot using <code>projectMatrix</code>.</p>
1898+
<p><code>projectMatrix</code> を使っていると集約サブプロジェクトの絞り込みが欲しくなる場面が多々あるが、sbt クエリがこれが解決する。</p>
18991899
<div style="break-before: page; page-break-before: always;"></div><h1 id="caching"><a class="header" href="#caching">Caching</a></h1>
19001900
<p>sbt 2.0 introduces hybrid local/remote cache system, which can cache the task results to local disk and Bazel-compatible remote cache. Throughout sbt releases it has implemented various caches, like <code>update</code> cache, incremental compilation, but sbt 2.x's cache is a significant step change for a few reasons:</p>
19011901
<ol>

2.x/docs/ja/searchindex.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

2.x/docs/zh-cn/concepts/sbt-query.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ <h1 id="sbt-query"><a class="header" href="#sbt-query">sbt query</a></h1>
213213
<p><em>act</em> <code>::=</code> [ <em>query</em> <code>/</code> ] [ <em>config</em> <code>/</code> ] [ <em>in-task</em> <code>/</code> ] ( <em>taskKey</em> | <em>settingKey</em> )</p>
214214
<p>In other words, sbt query is a new way of writing the subproject-axis.</p>
215215
<h3 id="subproject-reference"><a class="header" href="#subproject-reference">Subproject reference</a></h3>
216-
<p>A subproject reference works a query to select the subproject:</p>
216+
<p>A subproject reference works as a query to select the subproject:</p>
217217
<div id="admonition-buildsbt-example-1" class="admonition admonish-example" role="note" aria-labelledby="admonition-buildsbt-example-1-title">
218218
<div class="admonition-title">
219219
<div id="admonition-buildsbt-example-1-title">

2.x/docs/zh-cn/print.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1820,7 +1820,7 @@ <h2 id="project-matrix"><a class="header" href="#project-matrix">Project matrix<
18201820
<p><em>act</em> <code>::=</code> [ <em>query</em> <code>/</code> ] [ <em>config</em> <code>/</code> ] [ <em>in-task</em> <code>/</code> ] ( <em>taskKey</em> | <em>settingKey</em> )</p>
18211821
<p>In other words, sbt query is a new way of writing the subproject-axis.</p>
18221822
<h3 id="subproject-reference"><a class="header" href="#subproject-reference">Subproject reference</a></h3>
1823-
<p>A subproject reference works a query to select the subproject:</p>
1823+
<p>A subproject reference works as a query to select the subproject:</p>
18241824
<div id="admonition-buildsbt-example-1" class="admonition admonish-example" role="note" aria-labelledby="admonition-buildsbt-example-1-title">
18251825
<div class="admonition-title">
18261826
<div id="admonition-buildsbt-example-1-title">

2.x/docs/zh-cn/searchindex.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)