We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87bf650 commit a58aab6Copy full SHA for a58aab6
.gitignore
@@ -1,3 +1,6 @@
1
+#Ignore build artifacts
2
+*.nupkg
3
+
4
#Ignore thumbnails created by Windows
5
Thumbs.db
6
nuget/nuget-pack.ps1
@@ -0,0 +1,19 @@
+$ErrorActionPreference = "Stop"
+Clear
+Remove-Item ".\*.nupkg"
7
+Get-ChildItem ".\" -Recurse -Include *.nuspec | `
8
9
+Foreach-Object {
10
+ Write-Host "Building NuGet package '$($_.Name)'"
11
12
+ & ".\nuget.exe" pack $_.FullName -BasePath "$($_.DirectoryName)" -OutputDirectory ".\"
13
14
+ if ($LASTEXITCODE -ne 0)
15
+ {
16
+ Write-Error "Error generating nupkg for '$($_.Name)'"
17
+ break
18
+ }
19
+}
nuget/nuget.exe
5.09 MB
0 commit comments