Browse Source

fix nugetbuild for linux

Robin Herbots 11 years ago
parent
commit
5fd48a2bf0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Gruntfile.js

+ 1 - 1
Gruntfile.js

@@ -72,7 +72,7 @@ module.exports = function (grunt) {
         },
         nugetpack: {
             dist: {
-                src: 'nuget/jquery.inputmask.nuspec',
+                src: function () { return process.platform === "linux" ? 'nuget/jquery.inputmask.linux.nuspec' : 'nuget/jquery.inputmask.nuspec'; }(),
                 dest: 'dist/',
                 options: {
                     version: '<%= pkg.version %>'