mirror of
https://github.com/mdbootstrap/mdb-ui-kit.git
synced 2025-07-27 00:19:50 +03:00
Merge ec39a94cf3
into 93384b5bb1
This commit is contained in:
commit
f1fd776872
46
Gruntfile.js
46
Gruntfile.js
|
@ -4,7 +4,7 @@ module.exports = function(grunt) {
|
|||
require("load-grunt-tasks")(grunt);
|
||||
|
||||
grunt.initConfig({
|
||||
|
||||
pkg: grunt.file.readJSON("package.json"),
|
||||
|
||||
// Compile less to .css
|
||||
// Compile less to .min.css
|
||||
|
@ -314,6 +314,50 @@ module.exports = function(grunt) {
|
|||
"watch"
|
||||
]);
|
||||
});
|
||||
|
||||
grunt.registerTask("nuget", "Create a nuget package", function () {
|
||||
var target = grunt.option("target") || "less", done = this.async();
|
||||
if (target === "less") {
|
||||
grunt.util.spawn({
|
||||
cmd: "nuget/nuget.exe",
|
||||
args: [
|
||||
"pack",
|
||||
"nuget/Bootstrap.Material.Design.nuspec",
|
||||
"-OutputDirectory",
|
||||
"dist/nuget",
|
||||
"-Version",
|
||||
grunt.config.get("pkg").version
|
||||
]
|
||||
}, function (error, result) {
|
||||
if (error) {
|
||||
grunt.log.error(error);
|
||||
} else {
|
||||
grunt.log.write(result);
|
||||
}
|
||||
done();
|
||||
});
|
||||
}
|
||||
else { //--target=css
|
||||
grunt.util.spawn({
|
||||
cmd: "nuget/nuget.exe",
|
||||
args: [
|
||||
"pack",
|
||||
"nuget/Bootstrap.Material.Design.CSS.nuspec",
|
||||
"-OutputDirectory",
|
||||
"dist/nuget",
|
||||
"-Version",
|
||||
grunt.config.get("pkg").version
|
||||
]
|
||||
}, function (error, result) {
|
||||
if (error) {
|
||||
grunt.log.error(error);
|
||||
} else {
|
||||
grunt.log.write(result);
|
||||
}
|
||||
done();
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
// Meteor tasks
|
||||
grunt.registerTask("meteor-test", ["exec:meteor-init", "exec:meteor-test", "exec:meteor-cleanup"]);
|
||||
|
|
BIN
dist/nuget/Bootstrap.Material.Design.0.3.1-dev.nupkg
vendored
Normal file
BIN
dist/nuget/Bootstrap.Material.Design.0.3.1-dev.nupkg
vendored
Normal file
Binary file not shown.
BIN
dist/nuget/Bootstrap.Material.Design.CSS.0.3.1-dev.nupkg
vendored
Normal file
BIN
dist/nuget/Bootstrap.Material.Design.CSS.0.3.1-dev.nupkg
vendored
Normal file
Binary file not shown.
28
nuget/Bootstrap.Material.Design.CSS.nuspec
Normal file
28
nuget/Bootstrap.Material.Design.CSS.nuspec
Normal file
|
@ -0,0 +1,28 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
|
||||
<metadata>
|
||||
<id>Bootstrap.Material.Design.CSS</id>
|
||||
<version>1.0.0</version>
|
||||
<title>Material Design for Bootstrap CSS</title>
|
||||
<authors>fezvrasta</authors>
|
||||
<owners>Eonasdan</owners>
|
||||
<projectUrl>http://fezvrasta.github.io/bootstrap-material-design/</projectUrl>
|
||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||
<description>Material Design for Bootstrap is a theme for Bootstrap 3 which lets you use the new Google Material Design in your favorite front-end framework.</description>
|
||||
<releaseNotes>https://github.com/FezVrasta/bootstrap-material-design/blob/master/CHANGELOG.md</releaseNotes>
|
||||
<tags>bootstrap material</tags>
|
||||
<dependencies>
|
||||
<dependency id="bootstrap" version="3.3" />
|
||||
</dependencies>
|
||||
</metadata>
|
||||
<files>
|
||||
<file src="..\dist\fonts\Material-Design-Icons.eot" target="content\fonts" />
|
||||
<file src="..\dist\fonts\Material-Design-Icons.svg" target="content\fonts" />
|
||||
<file src="..\dist\fonts\Material-Design-Icons.ttf" target="content\fonts" />
|
||||
<file src="..\dist\fonts\Material-Design-Icons.woff" target="content\fonts" />
|
||||
<file src="..\dist\js\material.js" target="content\Scripts" />
|
||||
<file src="..\dist\js\ripples.js" target="content\Scripts" />
|
||||
<file src="..\dist\css\material.css" target="content\Content\material" />
|
||||
<file src="..\dist\css\ripples.css" target="content\Content\material" />
|
||||
</files>
|
||||
</package>
|
58
nuget/Bootstrap.Material.Design.nuspec
Normal file
58
nuget/Bootstrap.Material.Design.nuspec
Normal file
|
@ -0,0 +1,58 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
|
||||
<metadata>
|
||||
<id>Bootstrap.Material.Design</id>
|
||||
<version>1.0.0</version>
|
||||
<title>Material Design for Bootstrap</title>
|
||||
<authors>fezvrasta</authors>
|
||||
<owners>Eonasdan</owners>
|
||||
<projectUrl>http://fezvrasta.github.io/bootstrap-material-design/</projectUrl>
|
||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||
<description>Material Design for Bootstrap is a theme for Bootstrap 3 which lets you use the new Google Material Design in your favorite front-end framework.</description>
|
||||
<releaseNotes>https://github.com/FezVrasta/bootstrap-material-design/blob/master/CHANGELOG.md</releaseNotes>
|
||||
<tags>bootstrap material</tags>
|
||||
<dependencies>
|
||||
<dependency id="Twitter.Bootstrap.Less" version="3.3" />
|
||||
</dependencies>
|
||||
</metadata>
|
||||
<files>
|
||||
<file src="..\dist\fonts\Material-Design-Icons.eot" target="content\Content\fonts" />
|
||||
<file src="..\dist\fonts\Material-Design-Icons.svg" target="content\Content\fonts" />
|
||||
<file src="..\dist\fonts\Material-Design-Icons.ttf" target="content\Content\fonts" />
|
||||
<file src="..\dist\fonts\Material-Design-Icons.woff" target="content\Content\fonts" />
|
||||
<file src="..\dist\js\material.js" target="content\Scripts" />
|
||||
<file src="..\dist\js\ripples.js" target="content\Scripts" />
|
||||
<file src="..\less\material-fullpalette.less" target="content\Content\material" />
|
||||
<file src="..\less\material.less" target="content\Content\material" />
|
||||
<file src="..\less\ripples.less" target="content\Content\material" />
|
||||
<file src="..\less\roboto.less" target="content\Content\material" />
|
||||
<file src="..\less\_alerts.less" target="content\Content\material" />
|
||||
<file src="..\less\_buttons.less" target="content\Content\material" />
|
||||
<file src="..\less\_cards.less" target="content\Content\material" />
|
||||
<file src="..\less\_checkboxes.less" target="content\Content\material" />
|
||||
<file src="..\less\_colors.less" target="content\Content\material" />
|
||||
<file src="..\less\_dialogs.less" target="content\Content\material" />
|
||||
<file src="..\less\_dividers.less" target="content\Content\material" />
|
||||
<file src="..\less\_icons-material-design.less" target="content\Content\material" />
|
||||
<file src="..\less\_icons.less" target="content\Content\material" />
|
||||
<file src="..\less\_inputs.less" target="content\Content\material" />
|
||||
<file src="..\less\_labels.less" target="content\Content\material" />
|
||||
<file src="..\less\_lists.less" target="content\Content\material" />
|
||||
<file src="..\less\_mixins-fullpalette.less" target="content\Content\material" />
|
||||
<file src="..\less\_mixins.less" target="content\Content\material" />
|
||||
<file src="..\less\_navbar.less" target="content\Content\material" />
|
||||
<file src="..\less\_panels.less" target="content\Content\material" />
|
||||
<file src="..\less\_plugin-dropdownjs.less" target="content\Content\material" />
|
||||
<file src="..\less\_plugin-nouislider.less" target="content\Content\material" />
|
||||
<file src="..\less\_plugin-selectize.less" target="content\Content\material" />
|
||||
<file src="..\less\_plugin-snackbarjs.less" target="content\Content\material" />
|
||||
<file src="..\less\_popups.less" target="content\Content\material" />
|
||||
<file src="..\less\_progress.less" target="content\Content\material" />
|
||||
<file src="..\less\_radios.less" target="content\Content\material" />
|
||||
<file src="..\less\_shadows.less" target="content\Content\material" />
|
||||
<file src="..\less\_tabs.less" target="content\Content\material" />
|
||||
<file src="..\less\_togglebutton.less" target="content\Content\material" />
|
||||
<file src="..\less\_variables.less" target="content\Content\material" />
|
||||
<file src="..\less\_welljumbo.less" target="content\Content\material" />
|
||||
</files>
|
||||
</package>
|
BIN
nuget/NuGet.exe
Normal file
BIN
nuget/NuGet.exe
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user