-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #582 from kenbailey/docs-octopack
Octopack docs added (replaces #563)
- Loading branch information
Showing
4 changed files
with
37 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
| [docs](..) / [using](.) / octopack.md | ||
|:---| | ||
|
||
# Using OctoPack | ||
|
||
In order to automatically construct your nuget packages you can use [OctoPack](https://github.com/OctopusDeploy/OctoPack). Octopack allows you to specify a .nuspec file which will be used to specify how your .nupkg should be created. | ||
|
||
Follow the core instructions for creating your .nuspec file on the [OctoPack](https://github.com/OctopusDeploy/OctoPack) page. | ||
|
||
You'll then need to add a files specification to match Squirrel's expected .nupkg structure: | ||
|
||
~~~ | ||
<files> | ||
<file src="bin\Release\*.*" target="lib\net45\" exclude="bin\release\*.pdb;bin\release\*.nupkg;bin\release\*.vshost.*"/> | ||
</files> | ||
~~~ | ||
|
||
If you're building using Visual Studio, you will also need to edit your .csproj file to include a property group. | ||
|
||
~~~ | ||
<PropertyGroup> | ||
<RunOctoPack>true</RunOctoPack> | ||
</PropertyGroup> | ||
~~~ | ||
|
||
If you're using a build server, see OctoPack's guides on how to trigger it to be run. | ||
|
||
--- | ||
| Return: [Table of Contents](../readme.md) | | ||
|----| | ||
|
||
|
||
|