Files
tldr/pages.zh/windows/choco-pack.md
2022-03-27 02:25:15 -03:00

17 lines
482 B
Markdown
Raw 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.

# choco pack
> 将 nuspec 打包到已编译的 nupkg.
> 更多信息:<https://chocolatey.org/docs/commands-pack>.
- 将 nuspec 打包到已编译的 nupkg
`choco pack {{nuspec 的路径}}`
- 将 nuspec 打包到已编译的 nupkg, 并指定生成的版本:
`choco pack {{nuspec 的路径}} --version {{版本号}}`
- 将 nuspec 打包到已编译的 nupkg, 并输出到指定的目录:
`choco pack {{nuspec 的路径}} --output-directory {{输出目录的路径}}`