pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/sbt/sbt.github.com/commit/f4977bf4af72e22d7408b287a3acaefcfcf2ecb5

9660fa.css" /> updated site · sbt/sbt.github.com@f4977bf · GitHub
Skip to content

Commit f4977bf

Browse files
committed
updated site
1 parent 0b42168 commit f4977bf

25 files changed

Lines changed: 313 additions & 363 deletions

2.x/docs/en/guide/plugin-basics.html

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -209,18 +209,9 @@ <h1 class="menu-title">The Book of sbt</h1>
209209
<div id="content" class="content">
210210
<main>
211211
<h1 id="plugin-basics"><a class="header" href="#plugin-basics">Plugin basics</a></h1>
212-
<!--
213-
Please read the earlier pages in the Getting Started Guide first, in
214-
particular you need to understand [build.sbt][Basic-Def], [task graph][Task-Graph],
215-
[library dependencies][Library-Dependencies], before reading this page.
216-
-->
217212
<h2 id="what-is-a-plugin"><a class="header" href="#what-is-a-plugin">What is a plugin?</a></h2>
218213
<p>A plugin extends the build definition, most commonly by adding new settings and tasks.
219214
For example, a plugin could add <code>githubWorkflowGenerate</code> task to generate GitHub Actions YAML.</p>
220-
<!--
221-
For example, a plugin
222-
could add a `codeCoverage` task which would generate a test coverage report.
223-
-->
224215
<h2 id="finding-the-plugin-versions-using-scaladex"><a class="header" href="#finding-the-plugin-versions-using-scaladex">Finding the plugin versions using Scaladex</a></h2>
225216
<p>You can use <a href="https://index.scala-lang.org/search?platform=sbt2">Scaladex</a> to search for plugins, and find out the latest version of the plugin.</p>
226217
<h2 id="declaring-a-plugin"><a class="header" href="#declaring-a-plugin">Declaring a plugin</a></h2>

2.x/docs/en/print.html

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1373,18 +1373,9 @@ <h2 id="common-settings"><a class="header" href="#common-settings">Common settin
13731373
LocalRootProject / publish / skip := true
13741374
</code></pre>
13751375
<div style="break-before: page; page-break-before: always;"></div><h1 id="plugin-basics"><a class="header" href="#plugin-basics">Plugin basics</a></h1>
1376-
<!--
1377-
Please read the earlier pages in the Getting Started Guide first, in
1378-
particular you need to understand [build.sbt][Basic-Def], [task graph][Task-Graph],
1379-
[library dependencies][Library-Dependencies], before reading this page.
1380-
-->
13811376
<h2 id="what-is-a-plugin"><a class="header" href="#what-is-a-plugin">What is a plugin?</a></h2>
13821377
<p>A plugin extends the build definition, most commonly by adding new settings and tasks.
13831378
For example, a plugin could add <code>githubWorkflowGenerate</code> task to generate GitHub Actions YAML.</p>
1384-
<!--
1385-
For example, a plugin
1386-
could add a `codeCoverage` task which would generate a test coverage report.
1387-
-->
13881379
<h2 id="finding-the-plugin-versions-using-scaladex"><a class="header" href="#finding-the-plugin-versions-using-scaladex">Finding the plugin versions using Scaladex</a></h2>
13891380
<p>You can use <a href="https://index.scala-lang.org/search?platform=sbt2">Scaladex</a> to search for plugins, and find out the latest version of the plugin.</p>
13901381
<h2 id="declaring-a-plugin"><a class="header" href="#declaring-a-plugin">Declaring a plugin</a></h2>

2.x/docs/ja/changes/migrating-from-sbt-1.x.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ <h2 id="ベアセッティングの変更点"><a class="header" href="#ベアセ
252252
<a class="admonition-anchor-link" href="#admonition-warning"></a>
253253
</div>
254254
<div>
255-
<p>sbt 1.x において、ベア・セッティングはルートプロジェクトにのみ適用されるセッティングだった。sbt 2.x においては、<code>build.sbt</code> のベア・セッティングは<strong>全サブプロジェクト</strong>に注入されるコモン・セッティングとして解釈される。</p>
255+
<p>In sbt 1.x bare settings were project settings that applied only to the root subproject. In sbt 2.x, the bare settings in <code>build.sbt</code> are common settings that are injected to <strong>all subprojects</strong>.</p>
256256
</div>
257257
</div>
258258
<pre><code class="language-scala">name := "root" // 全サブプロジェクトの名前が root になる!

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -235,15 +235,15 @@ <h3 id="-ワイルドカード"><a class="header" href="#-ワイルドカード"
235235
<p><code>...</code> ワイルドカードはどの文字列にもマッチして、他の文字や数字とも組み合わせて、ルートの集約リストを絞り込むことができる。例えば、以下のようにして <code>foo</code> で始まる全サブプロジェクトのテストを実行することができる:</p>
236236
<pre><code>foo.../test
237237
</code></pre>
238-
<div id="admonition-備考--vs-" class="admonition admonish-note" role="note" aria-labelledby="admonition-備考--vs--title">
238+
<div id="admonition-note--vs-" class="admonition admonish-note" role="note" aria-labelledby="admonition-note--vs--title">
239239
<div class="admonition-title">
240-
<div id="admonition-備考--vs--title">
241-
<p>備考: * vs ...</p>
240+
<div id="admonition-note--vs--title">
241+
<p>Note: * vs ...</p>
242242
</div>
243-
<a class="admonition-anchor-link" href="#admonition-備考--vs-"></a>
243+
<a class="admonition-anchor-link" href="#admonition-note--vs-"></a>
244244
</div>
245245
<div>
246-
<p>sbt クエリは、直感的に分かりやすそうな <code>*</code> (アスタリスク) でなく、意図的に <code>...</code> (ドット・ドット・ドット) を採用する。これは <code>*</code> がシェル環境においてワイルドカードとして使われることが多いからだ。そのため、常にクォートで囲む必要があり、また <code>*/test</code> をクォートし忘れると <code>src/test</code> のようなディレクトリにマッチしてしまう可能性が高い。</p>
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>
247247
</div>
248248
</div>
249249
<h3 id="scalabinaryversion-パラメータ"><a class="header" href="#scalabinaryversion-パラメータ"><code>@scalaBinaryVersion</code> パラメータ</a></h3>

2.x/docs/ja/guide/basic-tasks.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ <h1 id="基本タスク"><a class="header" href="#基本タスク">基本タス
222222
<a class="admonition-anchor-link" href="#admonition-note"></a>
223223
</div>
224224
<div>
225-
<p>scalanlp/breeze sbt 1.x を使っているが、ここでは sbt 2.x を使っている想定で書いていく。</p>
225+
<p>scalanlp/breeze is on sbt 1.x, but we'll write this section as if it is an sbt 2.x build.</p>
226226
</div>
227227
</div>
228228
<h3 id="sbtn-を用いた-sbt-シェル"><a class="header" href="#sbtn-を用いた-sbt-シェル">sbtn を用いた sbt シェル</a></h3>

2.x/docs/ja/guide/build-definition-basics.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -274,8 +274,8 @@ <h3 id="val-と-lazy-val"><a class="header" href="#val-と-lazy-val"><code>val</
274274
<a class="admonition-anchor-link" href="#admonition-note"></a>
275275
</div>
276276
<div>
277-
<p><code>build.sbt</code> トップレベルでのクラスやオブジェクトの定義は禁止されている。
278-
それらは、<code>project/</code> ディレクトリ内の Scala ソース内に書かれる。</p>
277+
<p>Top-level objects and classes are not allowed in <code>build.sbt</code>.
278+
Those should go in the <code>project/</code> directory as Scala source files.</p>
279279
</div>
280280
</div>
281281
</main>

2.x/docs/ja/guide/build-layout.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,9 @@ <h3 id="バージョン管理の設定"><a class="header" href="#バージョン
292292
<a class="admonition-anchor-link" href="#admonition-note"></a>
293293
</div>
294294
<div>
295-
<p>ここでは(ディレクトリだけにマッチさせるために)語尾の <code>/</code> を意図的につけていて、一方で (普通の <code>target/</code> に加えて <code>project/target/</code> にもマッチさせるために)先頭の <code>/</code> は意図的に つけていないことに注意。</p>
295+
<p>Note that this deliberately has a trailing <code>/</code> (to match only directories)
296+
and it deliberately has no leading <code>/</code> (to match <code>project/target/</code> in
297+
addition to plain <code>target/</code>).</p>
296298
</div>
297299
</div>
298300
</main>

2.x/docs/ja/guide/plugin-basics.html

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -209,17 +209,8 @@ <h1 class="menu-title">The Book of sbt</h1>
209209
<div id="content" class="content">
210210
<main>
211211
<h1 id="プラグインの基本"><a class="header" href="#プラグインの基本">プラグインの基本</a></h1>
212-
<!--
213-
Please read the earlier pages in the Getting Started Guide first, in
214-
particular you need to understand [build.sbt][Basic-Def], [task graph][Task-Graph],
215-
[library dependencies][Library-Dependencies], before reading this page.
216-
-->
217212
<h2 id="プラグインとは何か"><a class="header" href="#プラグインとは何か">プラグインとは何か</a></h2>
218213
<p>プラグインは、新しいセッティングやタスクを追加することでビルド定義を拡張する。例えば、プラグインを使って <code>githubWorkflowGenerate</code> というタスクを追加して、GitHub Actions のための YAML を自動生成することができる。</p>
219-
<!--
220-
For example, a plugin
221-
could add a `codeCoverage` task which would generate a test coverage report.
222-
-->
223214
<h2 id="scaladex-を使ったプラグインバージョンの検索"><a class="header" href="#scaladex-を使ったプラグインバージョンの検索">Scaladex を使ったプラグイン・バージョンの検索</a></h2>
224215
<p><a href="https://index.scala-lang.org/search?platform=sbt2">Scaladex</a> を用いてプラグインを検索して、そのプラグインの最新バージョンを探すことができる。</p>
225216
<h2 id="プラグインの宣言"><a class="header" href="#プラグインの宣言">プラグインの宣言</a></h2>

2.x/docs/ja/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ <h1 id="sbt-ハンドブック-日本語版草稿"><a class="header" href="#sbt-
217217
<a class="admonition-anchor-link" href="#admonition-note"></a>
218218
</div>
219219
<div>
220-
<p>これは未だリリースされていない sbt 2.x のドキュメンテーションの草稿だ。</p>
220+
<p>This is a draft documentation of sbt 2.x that is yet to be released.</p>
221221
</div>
222222
</div>
223223
<p><strong>言語</strong>:</p>

2.x/docs/ja/print.html

Lines changed: 13 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ <h1 id="sbt-ハンドブック-日本語版草稿"><a class="header" href="#sbt-
218218
<a class="admonition-anchor-link" href="index.html#admonition-note"></a>
219219
</div>
220220
<div>
221-
<p>これは未だリリースされていない sbt 2.x のドキュメンテーションの草稿だ。</p>
221+
<p>This is a draft documentation of sbt 2.x that is yet to be released.</p>
222222
</div>
223223
</div>
224224
<p><strong>言語</strong>:</p>
@@ -963,7 +963,7 @@ <h3 id="sbt-server-のシャットダウン"><a class="header" href="#sbt-server
963963
<a class="admonition-anchor-link" href="guide/basic-tasks.html#admonition-note"></a>
964964
</div>
965965
<div>
966-
<p>scalanlp/breeze sbt 1.x を使っているが、ここでは sbt 2.x を使っている想定で書いていく。</p>
966+
<p>scalanlp/breeze is on sbt 1.x, but we'll write this section as if it is an sbt 2.x build.</p>
967967
</div>
968968
</div>
969969
<h3 id="sbtn-を用いた-sbt-シェル-1"><a class="header" href="#sbtn-を用いた-sbt-シェル-1">sbtn を用いた sbt シェル</a></h3>
@@ -1149,8 +1149,8 @@ <h3 id="val-と-lazy-val"><a class="header" href="#val-と-lazy-val"><code>val</
11491149
<a class="admonition-anchor-link" href="guide/build-definition-basics.html#admonition-note"></a>
11501150
</div>
11511151
<div>
1152-
<p><code>build.sbt</code> トップレベルでのクラスやオブジェクトの定義は禁止されている。
1153-
それらは、<code>project/</code> ディレクトリ内の Scala ソース内に書かれる。</p>
1152+
<p>Top-level objects and classes are not allowed in <code>build.sbt</code>.
1153+
Those should go in the <code>project/</code> directory as Scala source files.</p>
11541154
</div>
11551155
</div><div style="break-before: page; page-break-before: always;"></div><h1 id="ライブラリ依存性の基本"><a class="header" href="#ライブラリ依存性の基本">ライブラリ依存性の基本</a></h1>
11561156
<p>このページは、sbt を使ったライブラリ依存性管理の基本を説明する。</p>
@@ -1299,17 +1299,8 @@ <h2 id="コモンセッティング"><a class="header" href="#コモンセッテ
12991299
LocalRootProject / publish / skip := true
13001300
</code></pre>
13011301
<div style="break-before: page; page-break-before: always;"></div><h1 id="プラグインの基本"><a class="header" href="#プラグインの基本">プラグインの基本</a></h1>
1302-
<!--
1303-
Please read the earlier pages in the Getting Started Guide first, in
1304-
particular you need to understand [build.sbt][Basic-Def], [task graph][Task-Graph],
1305-
[library dependencies][Library-Dependencies], before reading this page.
1306-
-->
13071302
<h2 id="プラグインとは何か"><a class="header" href="#プラグインとは何か">プラグインとは何か</a></h2>
13081303
<p>プラグインは、新しいセッティングやタスクを追加することでビルド定義を拡張する。例えば、プラグインを使って <code>githubWorkflowGenerate</code> というタスクを追加して、GitHub Actions のための YAML を自動生成することができる。</p>
1309-
<!--
1310-
For example, a plugin
1311-
could add a `codeCoverage` task which would generate a test coverage report.
1312-
-->
13131304
<h2 id="scaladex-を使ったプラグインバージョンの検索"><a class="header" href="#scaladex-を使ったプラグインバージョンの検索">Scaladex を使ったプラグイン・バージョンの検索</a></h2>
13141305
<p><a href="https://index.scala-lang.org/search?platform=sbt2">Scaladex</a> を用いてプラグインを検索して、そのプラグインの最新バージョンを探すことができる。</p>
13151306
<h2 id="プラグインの宣言"><a class="header" href="#プラグインの宣言">プラグインの宣言</a></h2>
@@ -1476,7 +1467,9 @@ <h3 id="バージョン管理の設定"><a class="header" href="#バージョン
14761467
<a class="admonition-anchor-link" href="guide/build-layout.html#admonition-note"></a>
14771468
</div>
14781469
<div>
1479-
<p>ここでは(ディレクトリだけにマッチさせるために)語尾の <code>/</code> を意図的につけていて、一方で (普通の <code>target/</code> に加えて <code>project/target/</code> にもマッチさせるために)先頭の <code>/</code> は意図的に つけていないことに注意。</p>
1470+
<p>Note that this deliberately has a trailing <code>/</code> (to match only directories)
1471+
and it deliberately has no leading <code>/</code> (to match <code>project/target/</code> in
1472+
addition to plain <code>target/</code>).</p>
14801473
</div>
14811474
</div><div style="break-before: page; page-break-before: always;"></div><h1 id="sbt-と-ide"><a class="header" href="#sbt-と-ide">sbt と IDE</a></h1>
14821475
<p>エディタと sbt だけで Scala のコードを書くことも可能だが、今日日のプログラマの多くは統合開発環境 (IDE) を用いる。Scala の IDE は <a href="https://scalameta.org/metals/">Metals</a><a href="https://www.jetbrains.com/idea/">IntelliJ IDEA</a> の二強で、それぞれ sbt ビルドとの統合をサポートする。</p>
@@ -1638,7 +1631,7 @@ <h2 id="ベアセッティングの変更点"><a class="header" href="#ベアセ
16381631
<a class="admonition-anchor-link" href="changes/migrating-from-sbt-1.x.html#admonition-warning"></a>
16391632
</div>
16401633
<div>
1641-
<p>sbt 1.x において、ベア・セッティングはルートプロジェクトにのみ適用されるセッティングだった。sbt 2.x においては、<code>build.sbt</code> のベア・セッティングは<strong>全サブプロジェクト</strong>に注入されるコモン・セッティングとして解釈される。</p>
1634+
<p>In sbt 1.x bare settings were project settings that applied only to the root subproject. In sbt 2.x, the bare settings in <code>build.sbt</code> are common settings that are injected to <strong>all subprojects</strong>.</p>
16421635
</div>
16431636
</div>
16441637
<pre><code class="language-scala">name := "root" // 全サブプロジェクトの名前が root になる!
@@ -1851,15 +1844,15 @@ <h3 id="-ワイルドカード"><a class="header" href="#-ワイルドカード"
18511844
<p><code>...</code> ワイルドカードはどの文字列にもマッチして、他の文字や数字とも組み合わせて、ルートの集約リストを絞り込むことができる。例えば、以下のようにして <code>foo</code> で始まる全サブプロジェクトのテストを実行することができる:</p>
18521845
<pre><code>foo.../test
18531846
</code></pre>
1854-
<div id="admonition-備考--vs-" class="admonition admonish-note" role="note" aria-labelledby="admonition-備考--vs--title">
1847+
<div id="admonition-note--vs-" class="admonition admonish-note" role="note" aria-labelledby="admonition-note--vs--title">
18551848
<div class="admonition-title">
1856-
<div id="admonition-備考--vs--title">
1857-
<p>備考: * vs ...</p>
1849+
<div id="admonition-note--vs--title">
1850+
<p>Note: * vs ...</p>
18581851
</div>
1859-
<a class="admonition-anchor-link" href="concepts/sbt-query.html#admonition-備考--vs-"></a>
1852+
<a class="admonition-anchor-link" href="concepts/sbt-query.html#admonition-note--vs-"></a>
18601853
</div>
18611854
<div>
1862-
<p>sbt クエリは、直感的に分かりやすそうな <code>*</code> (アスタリスク) でなく、意図的に <code>...</code> (ドット・ドット・ドット) を採用する。これは <code>*</code> がシェル環境においてワイルドカードとして使われることが多いからだ。そのため、常にクォートで囲む必要があり、また <code>*/test</code> をクォートし忘れると <code>src/test</code> のようなディレクトリにマッチしてしまう可能性が高い。</p>
1855+
<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>
18631856
</div>
18641857
</div>
18651858
<h3 id="scalabinaryversion-パラメータ"><a class="header" href="#scalabinaryversion-パラメータ"><code>@scalaBinaryVersion</code> パラメータ</a></h3>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy