Skip to content

Commit

Permalink
Add links to documentation of Paket-files
Browse files Browse the repository at this point in the history
  • Loading branch information
inosik committed Jul 20, 2015
1 parent 33cd652 commit ee7a3d3
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions docs/content/commands/pack.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
## Creating NuGet-Packages

Consider the following `paket.dependencies` file in your project's root:
Consider the following [`paket.dependencies` file][depfile] in your project's root:

source https://nuget.org/api/v2

nuget Castle.Windsor ~> 3.2
nuget NUnit

And one of your projects having a `paket.references` file like this:
And one of your projects having a [`paket.references` file][reffile] like this:

Castle.Windsor

Now, when you run `paket install`, your `paket.lock` file would look like this:
Now, when you run `paket install`, your [`paket.lock` file][lockfile] would look like this:

NUGET
remote: https://nuget.org/api/v2
Expand All @@ -21,7 +21,7 @@ Now, when you run `paket install`, your `paket.lock` file would look like this:
Castle.Core (>= 3.3.0)
NUnit (2.6.4)

Now, when you are done programming and wish to create a NuGet-Package of your project, create a `paket.template` file with `type project` and run:
Now, when you are done programming and wish to create a NuGet-Package of your project, create a [`paket.template`][templatefile] file with `type project` and run:

[lang=batch]
paket pack output nugets version 1.0.0
Expand All @@ -48,4 +48,9 @@ Depending on which command you issue, Paket creates different version requiremen
</tbody>
</table>

As you see here, the first command (without the `lock-dependencies` parameter) creates version requirements as specified in your `paket.dependencies` file. The second command takes the currently resolved version from your `paket.lock` file and "locks" it to this specific version.
As you see here, the first command (without the `lock-dependencies` parameter) creates version requirements as specified in your [`paket.dependencies` file][depfile]. The second command takes the currently resolved version from your [`paket.lock` file][lockfile] and "locks" it to this specific version.

[lockfile]: lock-file.html
[depfile]: dependencies-file.html
[reffile]: references-files.html
[templatefile]: template-files.html

0 comments on commit ee7a3d3

Please sign in to comment.