Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSupergibbs <jesse.mandel@gmail.com>2015-10-16 23:33:18 +0300
committerSupergibbs <jesse.mandel@gmail.com>2015-10-16 23:33:18 +0300
commitd0ebe80c3d6bef98458bfed217e85d7b7644d2c7 (patch)
treea82970006d7283839fb628a5ff4467001b77012b /nuget/MyGet.ps1
parent54ff87adf32dfe9ad0fdb1df852245840158daef (diff)
Added nuspec files so MyGet can build and publish NuGet packages
Diffstat (limited to 'nuget/MyGet.ps1')
-rw-r--r--nuget/MyGet.ps18
1 files changed, 8 insertions, 0 deletions
diff --git a/nuget/MyGet.ps1 b/nuget/MyGet.ps1
new file mode 100644
index 0000000000..ad17dea91f
--- /dev/null
+++ b/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 \ No newline at end of file