aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2015-12-08 00:04:05 -0800
committerMark Otto <[email protected]>2015-12-08 00:04:05 -0800
commit1132e0c11df54a1d1a92f771aa8632fe03e3c935 (patch)
tree7411f7da8942c615a0e6d86c854f0416cd901beb
parent8b0d737a56a7f92f926479fb361e7cd95e64ee1b (diff)
parentd0ebe80c3d6bef98458bfed217e85d7b7644d2c7 (diff)
downloadbootstrap-1132e0c11df54a1d1a92f771aa8632fe03e3c935.tar.xz
bootstrap-1132e0c11df54a1d1a92f771aa8632fe03e3c935.zip
Merge pull request #17952 from supergibbs/NuGet_Support
Add NuGet support
-rw-r--r--nuget/MyGet.ps18
-rw-r--r--nuget/bootstrap.nuspec27
-rw-r--r--nuget/bootstrap.sass.nuspec27
3 files changed, 62 insertions, 0 deletions
diff --git a/nuget/MyGet.ps1 b/nuget/MyGet.ps1
new file mode 100644
index 000000000..ad17dea91
--- /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
diff --git a/nuget/bootstrap.nuspec b/nuget/bootstrap.nuspec
new file mode 100644
index 000000000..835388b03
--- /dev/null
+++ b/nuget/bootstrap.nuspec
@@ -0,0 +1,27 @@
+<?xml version="1.0"?>
+<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
+ <metadata>
+ <id>bootstrap</id>
+ <version>4.0.0-alpha</version>
+ <title>Bootstrap CSS</title>
+ <authors>Twitter, Inc.</authors>
+ <owners>bootstrap</owners>
+ <description>The most popular front-end framework for developing responsive, mobile first projects on the web.</description>
+ <releaseNotes>http://blog.getbootstrap.com</releaseNotes>
+ <summary>Bootstrap framework in CSS. Includes fonts and JavaScript</summary>
+ <language>en-us</language>
+ <projectUrl>http://getbootstrap.com</projectUrl>
+ <iconUrl>http://getbootstrap.com/apple-touch-icon.png</iconUrl>
+ <licenseUrl>https://github.com/twbs/bootstrap/blob/master/LICENSE</licenseUrl>
+ <copyright>Copyright 2015</copyright>
+ <requireLicenseAcceptance>false</requireLicenseAcceptance>
+ <dependencies>
+ <dependency id="jQuery" version="2.0.0" />
+ </dependencies>
+ <tags>css js less mobile-first responsive front-end framework web</tags>
+ </metadata>
+ <files>
+ <file src="dist\css\*.*" target="content\Content" />
+ <file src="dist\js\bootstrap*.js" target="content\Scripts" />
+ </files>
+</package> \ No newline at end of file
diff --git a/nuget/bootstrap.sass.nuspec b/nuget/bootstrap.sass.nuspec
new file mode 100644
index 000000000..fb31ed526
--- /dev/null
+++ b/nuget/bootstrap.sass.nuspec
@@ -0,0 +1,27 @@
+<?xml version="1.0"?>
+<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
+ <metadata>
+ <id>bootstrap.sass</id>
+ <version>4.0.0-alpha</version>
+ <title>Bootstrap Sass</title>
+ <authors>Twitter, Inc.</authors>
+ <owners>bootstrap</owners>
+ <description>The most popular front-end framework for developing responsive, mobile first projects on the web.</description>
+ <releaseNotes>http://blog.getbootstrap.com</releaseNotes>
+ <summary>Bootstrap framework in Sass. Includes fonts and JavaScript</summary>
+ <language>en-us</language>
+ <projectUrl>http://getbootstrap.com</projectUrl>
+ <iconUrl>http://getbootstrap.com/apple-touch-icon.png</iconUrl>
+ <licenseUrl>https://github.com/twbs/bootstrap/blob/master/LICENSE</licenseUrl>
+ <copyright>Copyright 2015</copyright>
+ <requireLicenseAcceptance>false</requireLicenseAcceptance>
+ <dependencies>
+ <dependency id="jQuery" version="2.0.0" />
+ </dependencies>
+ <tags>css js less mobile-first responsive front-end framework web</tags>
+ </metadata>
+ <files>
+ <file src="scss\**\*.scss" target="content\Content\bootstrap" />
+ <file src="dist\js\bootstrap*.js" target="content\Scripts" />
+ </files>
+</package> \ No newline at end of file