File: MyGet.ps1

package info (click to toggle)
twitter-bootstrap3 3.4.1%2Bdfsg-6
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 9,712 kB
  • sloc: javascript: 27,395; makefile: 88; ruby: 31
file content (8 lines) | stat: -rw-r--r-- 471 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
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