Files
tldr/pages.zh/common/boot.md

28 lines
597 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# boot
> 为 Clojure 编程语言构建工具。
> 更多信息:<https://github.com/boot-clj/boot>。
- 启动一个 REPL 会话,既可以与项目一起启动,也可以单独启动:
`boot repl`
- 构建一个单一的 `uberjar`
`boot jar`
- 基于模板生成一个新项目的脚手架:
`boot --dependencies boot/new new --template {{template_name}} --name {{project_name}}`
- 为开发构建(如果使用 boot/new 模板):
`boot dev`
- 为生产构建(如果使用 boot/new 模板):
`boot prod`
- 显示特定任务的帮助信息:
`boot {{task}} --help`