2015-06-26 03:08:03 +08:00
|
|
|
$nuget = $env:NuGet
|
|
|
|
|
2015-06-27 00:15:12 +08:00
|
|
|
#parse the version number out of package.json
|
|
|
|
$bsversion = ((Get-Content $env:SourcesPath\package.json) -join "`n" | ConvertFrom-Json).version
|
2015-06-26 03:08:03 +08:00
|
|
|
|
|
|
|
#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
|