add new chinese translations

This commit is contained in:
2024-12-30 15:25:56 +08:00
parent a850046d7b
commit 0d798759fd
5418 changed files with 105800 additions and 7052 deletions

36
pages.zh/common/sbt.md Normal file
View File

@@ -0,0 +1,36 @@
# sbt
> Scala 和 Java 项目的构建工具。
> 更多信息:<https://www.scala-sbt.org/1.x/docs/>。
- 启动 REPL交互式 shell
`sbt`
- 从 GitHub 上的现有 Giter8 模板创建一个新的 Scala 项目:
`sbt new {{scala/hello-world.g8}}`
- 编译并运行所有测试:
`sbt test`
- 删除 `target` 目录中的所有生成文件:
`sbt clean`
- 编译 `src/main/scala``src/main/java` 目录中的主源文件:
`sbt compile`
- 使用指定版本的 sbt
`sbt -sbt-version {{version}}`
- 使用特定的 jar 文件作为 sbt 启动器:
`sbt -sbt-jar {{path}}`
- 列出所有 sbt 选项:
`sbt -h`