summaryrefslogtreecommitdiff
path: root/bootstrap/fonts/nuget/MyGet.ps1
diff options
context:
space:
mode:
authorsanjeevi012019-07-05 15:30:52 +0530
committersanjeevi012019-07-05 15:33:36 +0530
commit85a9d81638d240f3fa9ed01cb139ef33243b379b (patch)
tree5de2a278bd0b3e8c979defa73b24470a56055a3c /bootstrap/fonts/nuget/MyGet.ps1
parente5a79b1f0f70eb0bc413c5b85139617dbe84b07d (diff)
downloadfossee_istos-85a9d81638d240f3fa9ed01cb139ef33243b379b.tar.gz
fossee_istos-85a9d81638d240f3fa9ed01cb139ef33243b379b.tar.bz2
fossee_istos-85a9d81638d240f3fa9ed01cb139ef33243b379b.zip
Initial commit
Diffstat (limited to 'bootstrap/fonts/nuget/MyGet.ps1')
-rwxr-xr-xbootstrap/fonts/nuget/MyGet.ps18
1 files changed, 8 insertions, 0 deletions
diff --git a/bootstrap/fonts/nuget/MyGet.ps1 b/bootstrap/fonts/nuget/MyGet.ps1
new file mode 100755
index 0000000..417d33d
--- /dev/null
+++ b/bootstrap/fonts/nuget/MyGet.ps1
@@ -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