diff --git a/Gruntfile.js b/Gruntfile.js
index 0b2cbbb9..ebad10e2 100644
--- a/Gruntfile.js
+++ b/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"]);
diff --git a/dist/nuget/Bootstrap.Material.Design.0.3.1-dev.nupkg b/dist/nuget/Bootstrap.Material.Design.0.3.1-dev.nupkg
new file mode 100644
index 00000000..c56655a6
Binary files /dev/null and b/dist/nuget/Bootstrap.Material.Design.0.3.1-dev.nupkg differ
diff --git a/dist/nuget/Bootstrap.Material.Design.CSS.0.3.1-dev.nupkg b/dist/nuget/Bootstrap.Material.Design.CSS.0.3.1-dev.nupkg
new file mode 100644
index 00000000..3ce82a00
Binary files /dev/null and b/dist/nuget/Bootstrap.Material.Design.CSS.0.3.1-dev.nupkg differ
diff --git a/nuget/Bootstrap.Material.Design.CSS.nuspec b/nuget/Bootstrap.Material.Design.CSS.nuspec
new file mode 100644
index 00000000..c292e22c
--- /dev/null
+++ b/nuget/Bootstrap.Material.Design.CSS.nuspec
@@ -0,0 +1,28 @@
+
+
+
+ Bootstrap.Material.Design.CSS
+ 1.0.0
+ Material Design for Bootstrap CSS
+ fezvrasta
+ Eonasdan
+ http://fezvrasta.github.io/bootstrap-material-design/
+ false
+ 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.
+ https://github.com/FezVrasta/bootstrap-material-design/blob/master/CHANGELOG.md
+ bootstrap material
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nuget/Bootstrap.Material.Design.nuspec b/nuget/Bootstrap.Material.Design.nuspec
new file mode 100644
index 00000000..39e02a43
--- /dev/null
+++ b/nuget/Bootstrap.Material.Design.nuspec
@@ -0,0 +1,58 @@
+
+
+
+ Bootstrap.Material.Design
+ 1.0.0
+ Material Design for Bootstrap
+ fezvrasta
+ Eonasdan
+ http://fezvrasta.github.io/bootstrap-material-design/
+ false
+ 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.
+ https://github.com/FezVrasta/bootstrap-material-design/blob/master/CHANGELOG.md
+ bootstrap material
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nuget/NuGet.exe b/nuget/NuGet.exe
new file mode 100644
index 00000000..c41a0d0d
Binary files /dev/null and b/nuget/NuGet.exe differ