2025-03-14 21:59:59 -06:00
|
|
|
|
# just
|
|
|
|
|
|
|
|
|
|
|
|
> 保存并运行项目特定的命令。
|
2026-02-18 06:55:01 -07:00
|
|
|
|
> 更多信息:<https://manned.org/just>。
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
|
|
- 运行在 justfile 中指定的配方:
|
|
|
|
|
|
|
|
|
|
|
|
`just {{配方}}`
|
|
|
|
|
|
|
|
|
|
|
|
- 在项目根目录初始化新的 justfile:
|
|
|
|
|
|
|
|
|
|
|
|
`just --init`
|
|
|
|
|
|
|
|
|
|
|
|
- 在默认编辑器中编辑 justfile:
|
|
|
|
|
|
|
2026-06-12 17:51:25 -06:00
|
|
|
|
`just {{[-e|--edit]}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
|
|
- 列出 justfile 中可用的配方:
|
|
|
|
|
|
|
2026-06-12 17:51:25 -06:00
|
|
|
|
`just {{[-l|--list]}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
|
|
- 打印 justfile:
|
|
|
|
|
|
|
|
|
|
|
|
`just --dump`
|