From 4d4e9d7de00ba56862ce6af2da29ca5a2645ead8 Mon Sep 17 00:00:00 2001 From: Tom Fulton Date: Thu, 27 Feb 2014 13:38:07 -0700 Subject: [PATCH] Quick-fix issues with NuGet package paths --- Gruntfile.js | 4 ++-- pkg/nuget/package.nuspec | 5 ----- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index b1b8c7a..9d1285b 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -89,7 +89,7 @@ module.exports = function(grunt) { author: '<%= pkgMeta.author %>', authorUrl: '<%= pkgMeta.authorUrl %>', - files: [{ path: '..\\..\\..\\<%= dest %>\\**', target: 'content\\App_Plugins\\Archetype'}] + files: [{ path: '..\\..\\..\\<%= package_temp_dir %>\\nuget\\**', target: 'content\\App_Plugins\\Archetype'}] } }, 'files': { @@ -120,7 +120,7 @@ module.exports = function(grunt) { }, nuget_prepare: { files: [ - {expand: true, cwd: '<%= dest %>/', src: ['**/*', '!bin', '!bin/*'], dest: '<%= package_temp_dir %>/nuget/content/', flatten: false}, + {expand: true, cwd: '<%= dest %>/', src: ['**/*', '!bin', '!bin/*'], dest: '<%= package_temp_dir %>/nuget/content/App_Plugins/Archetype', flatten: false}, {expand: true, cwd: '<%= dest %>/', src: ['bin/**/*.dll'], dest: '<%= package_temp_dir %>/nuget/lib/net40/', flatten: true} ] }, diff --git a/pkg/nuget/package.nuspec b/pkg/nuget/package.nuspec index 6baaa87..f414221 100644 --- a/pkg/nuget/package.nuspec +++ b/pkg/nuget/package.nuspec @@ -12,9 +12,4 @@ http://github.com/imulus/archetype/raw/master/assets/logo.png <%= licenseUrl %> - - <% files.forEach(function(file) { %> - - <% }); %> - \ No newline at end of file