2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-14 18:42:30 +03:00

Added nuspec files so MyGet can build and publish NuGet packages

This commit is contained in:
Supergibbs
2015-10-16 13:33:18 -07:00
parent 54ff87adf3
commit d0ebe80c3d
3 changed files with 62 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
$nuget = $env:NuGet
#parse the version number out of package.json
$bsversion = ((Get-Content $env:SourcesPath\package.json) -join "`n" | ConvertFrom-Json).version
#create packages
& $nuget pack "nuget\bootstrap.nuspec" -Verbosity detailed -NonInteractive -NoPackageAnalysis -BasePath $env:SourcesPath -Version $bsversion
& $nuget pack "nuget\bootstrap.less.nuspec" -Verbosity detailed -NonInteractive -NoPackageAnalysis -BasePath $env:SourcesPath -Version $bsversion