2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-08 17:22:31 +03:00

NuGet Support - Added .nuspec files and MyGet.ps1 build script plus

status on README
This commit is contained in:
Supergibbs
2015-06-25 12:08:03 -07:00
parent d2d7784118
commit 95013f7d6d
4 changed files with 66 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
$nuget = $env:NuGet
#parse the version number out of the Jekyll _config.yml
$yaml = (Select-String $env:SourcesPath\_config.yml -pattern "current_version").ToString().Split(" ");
$bsversion = $yaml[$yaml.Length - 1]
#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