Update dotnet-pack README.md

Skip CI please
This commit is contained in:
Krzysztof Wicher 2016-04-26 12:13:44 -07:00
parent ba99019af1
commit b7b467e5bc

View file

@ -63,21 +63,30 @@ Configuration to use when building the project. If not specified, will default t
## EXAMPLES
### Pack the current project
`dotnet-pack`
Pack the current project.
### Pack the specific project
`dotnet-pack ~/projects/app1/project.json`
Pack the app1 project.
### Pack the current application and place the resulting packages into the specified folder
`dotnet-pack --output nupkgs`
Pack the current application and place the resulting packages into the specified folder.
### Pack the current project into the specified folder and skip the build step
`dotnet-pack --no-build --output nupkgs`
Pack the current project into the specified folder and skip the build step.
### Add files to a project
Add following section in the project.json
```json
{
"packInclude": {
"dir/in/the/package/": "path_relative_to_project.json",
"other/dir/in/the/package/": "absolute_path_to_a.file",
"another/dir/in/the/package/": ["file1.txt", "file2.txt", "file3.txt"],
"runtimes/ubuntu.14.04-x64/native/": "rid_specific_native_file.so"
}
}
```
## SEE ALSO