Skip to content

Commit

Permalink
Document "update group"
Browse files Browse the repository at this point in the history
  • Loading branch information
forki committed Oct 15, 2015
1 parent e48e02d commit a6a09e1
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 3 deletions.
23 changes: 22 additions & 1 deletion docs/content/commands/update.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,35 @@ Please see [`paket install`](paket-install.html) if you want to keep the current
It's also possible to update only a single package and to keep all other dependencies fixed:

[lang=batchfile]
paket update nuget PACKAGENAME [version VERSION] [--force|-f] [--hard] [--redirects] [--no-install]
paket update nuget PACKAGENAME [version VERSION] [group GROUPNAME] [--force|-f] [--hard] [--redirects] [--no-install]

### Options:

`nuget <string>`: Nuget package id

`version <string>`: Allows to specify version of the package.

`group <string>`: Allows to specify the group where the package is located. If omitted then Paket defaults to the Main group.

`--force [-f]`: Forces the download and reinstallation of all packages.

`--hard`: Replaces package references within project files even if they are not yet adhering to the Paket's conventions (and hence considered manually managed). See [convert from NuGet](paket-convert-from-nuget.html).

`--redirects`: Creates binding redirects for the NuGet packages.

`--no-install`: Skips paket install --hard process afterward generation of [`paket.lock` file](lock-file.html).

## Updating a single group

If you want to update a single group you can use the following command:

[lang=batchfile]
paket update group GROUPNAME [--force|-f] [--hard] [--redirects] [--no-install]

### Options:

`group <string>`: Group name

`--force [-f]`: Forces the download and reinstallation of all packages.

`--hard`: Replaces package references within project files even if they are not yet adhering to the Paket's conventions (and hence considered manually managed). See [convert from NuGet](paket-convert-from-nuget.html).
Expand Down
4 changes: 2 additions & 2 deletions src/Paket/Paket.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,15 @@
<StartArguments>update group Build</StartArguments>
<StartArguments>pack output D:\code\paketbug\output</StartArguments>
<StartArguments>install</StartArguments>
<StartArguments>show-groups</StartArguments>
<StartArguments>update -f</StartArguments>
<StartAction>Project</StartAction>
<StartProgram>paket.exe</StartProgram>
<StartWorkingDirectory>c:\code\Paketkopie</StartWorkingDirectory>
<StartWorkingDirectory>C:\Temp\paket_test\</StartWorkingDirectory>
<StartWorkingDirectory>d:\code\paketkopie</StartWorkingDirectory>
<StartWorkingDirectory>d:\code\paketbug</StartWorkingDirectory>
<StartWorkingDirectory>d:\code\paketrepro</StartWorkingDirectory>
<StartWorkingDirectory>d:\code\paket</StartWorkingDirectory>
<StartWorkingDirectory>d:\code\Paket</StartWorkingDirectory>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
Expand Down

0 comments on commit a6a09e1

Please sign in to comment.