ソースを参照

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 %>'