浏览代码

fix nugetbuild for linux

Robin Herbots 11 年之前
父节点
当前提交
5fd48a2bf0
共有 1 个文件被更改,包括 1 次插入1 次删除
  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 %>'