File tree Expand file tree Collapse file tree 3 files changed +62
-0
lines changed Expand file tree Collapse file tree 3 files changed +62
-0
lines changed Original file line number Diff line number Diff line change
1
+ $nuget = $env: NuGet
2
+
3
+ # parse the version number out of package.json
4
+ $bsversion = ((Get-Content $env: SourcesPath \package.json) -join " `n " | ConvertFrom-Json ).version
5
+
6
+ # create packages
7
+ & $nuget pack " nuget\bootstrap.nuspec" - Verbosity detailed - NonInteractive - NoPackageAnalysis - BasePath $env: SourcesPath - Version $bsversion
8
+ & $nuget pack " nuget\bootstrap.less.nuspec" - Verbosity detailed - NonInteractive - NoPackageAnalysis - BasePath $env: SourcesPath - Version $bsversion
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" ?>
2
+ <package xmlns =" http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd" >
3
+ <metadata >
4
+ <id >bootstrap</id >
5
+ <version >4.0.0-alpha</version >
6
+ <title >Bootstrap CSS</title >
7
+ <authors >Twitter, Inc.</authors >
8
+ <owners >bootstrap</owners >
9
+ <description >The most popular front-end framework for developing responsive, mobile first projects on the web.</description >
10
+ <releaseNotes >http://blog.getbootstrap.com</releaseNotes >
11
+ <summary >Bootstrap framework in CSS. Includes fonts and JavaScript</summary >
12
+ <language >en-us</language >
13
+ <projectUrl >http://getbootstrap.com</projectUrl >
14
+ <iconUrl >http://getbootstrap.com/apple-touch-icon.png</iconUrl >
15
+ <licenseUrl >https://github.com/twbs/bootstrap/blob/master/LICENSE</licenseUrl >
16
+ <copyright >Copyright 2015</copyright >
17
+ <requireLicenseAcceptance >false</requireLicenseAcceptance >
18
+ <dependencies >
19
+ <dependency id =" jQuery" version =" 2.0.0" />
20
+ </dependencies >
21
+ <tags >css js less mobile-first responsive front-end framework web</tags >
22
+ </metadata >
23
+ <files >
24
+ <file src =" dist\css\*.*" target =" content\Content" />
25
+ <file src =" dist\js\bootstrap*.js" target =" content\Scripts" />
26
+ </files >
27
+ </package >
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" ?>
2
+ <package xmlns =" http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd" >
3
+ <metadata >
4
+ <id >bootstrap.sass</id >
5
+ <version >4.0.0-alpha</version >
6
+ <title >Bootstrap Sass</title >
7
+ <authors >Twitter, Inc.</authors >
8
+ <owners >bootstrap</owners >
9
+ <description >The most popular front-end framework for developing responsive, mobile first projects on the web.</description >
10
+ <releaseNotes >http://blog.getbootstrap.com</releaseNotes >
11
+ <summary >Bootstrap framework in Sass. Includes fonts and JavaScript</summary >
12
+ <language >en-us</language >
13
+ <projectUrl >http://getbootstrap.com</projectUrl >
14
+ <iconUrl >http://getbootstrap.com/apple-touch-icon.png</iconUrl >
15
+ <licenseUrl >https://github.com/twbs/bootstrap/blob/master/LICENSE</licenseUrl >
16
+ <copyright >Copyright 2015</copyright >
17
+ <requireLicenseAcceptance >false</requireLicenseAcceptance >
18
+ <dependencies >
19
+ <dependency id =" jQuery" version =" 2.0.0" />
20
+ </dependencies >
21
+ <tags >css js less mobile-first responsive front-end framework web</tags >
22
+ </metadata >
23
+ <files >
24
+ <file src =" scss\**\*.scss" target =" content\Content\bootstrap" />
25
+ <file src =" dist\js\bootstrap*.js" target =" content\Scripts" />
26
+ </files >
27
+ </package >
You can’t perform that action at this time.
0 commit comments