Skip to content

Commit

Permalink
add note about version for source override
Browse files Browse the repository at this point in the history
  • Loading branch information
theimowski committed Aug 3, 2016
1 parent bec523d commit a8c67dc
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/content/local-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,21 @@ Format of git source is the same as used in `paket.dependencies` for specifying

[lang=paket]
nuget Fake -> source c:\github\FAKE\bin

// Argu is searched in specific version
// The version has to be provided before source
nuget Argu -> version 0.0.0 source C:\github\Argu\bin

The Format of the source is the same as in [path sources](nuget-dependencies.html#Path-sources).

> Note: In case of source override, `paket restore` assumes the NuGet package **already exists** in pointed directory - no build is going to be triggered.
### Nupkg version

If you happen to have a nupkg in local path, but with a different version than in `paket.lock`, you can optionally specify version which should be used for this override.
One use case might be when the package version is determined by your build server, and nupkgs created locally have zero version.
This is currently supported only for [Source override](#Source-override).

### Groups

[lang=paket]
Expand Down

0 comments on commit a8c67dc

Please sign in to comment.