Skip to content

Commit

Permalink
Adjust nuget package to properly reference binaries, fix #8
Browse files Browse the repository at this point in the history
  • Loading branch information
tomfulton committed May 26, 2014
1 parent 13f0d47 commit c8c349f
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions urlpicker/Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,13 +90,21 @@ module.exports = function(grunt) {
dest: '<%= dest %>/bin/'
},

nuget: {
nugetContent: {
expand: true,
cwd: '<%= dest %>',
src: '**',
src: ['**/*','!bin/**'],
dest: 'tmp/nuget/content/'
},

nugetLib: {
expand: true,
cwd: '<%= dest %>',
src: 'bin/*.*',
dest: 'tmp/nuget/lib/net40/',
flatten: true
},

umbraco: {
expand: true,
cwd: '<%= dest %>/',
Expand Down Expand Up @@ -158,7 +166,7 @@ module.exports = function(grunt) {
});

grunt.registerTask('default', ['concat', 'less', 'copy:config', 'copy:views', 'copy:dll', 'msbuild:dist']);
grunt.registerTask('nuget', ['clean', 'default', 'copy:nuget', 'template:nuspec', 'mkdir:pkg', 'nugetpack']);
grunt.registerTask('nuget', ['clean', 'default', 'copy:nugetContent', 'copy:nugetLib', 'template:nuspec', 'mkdir:pkg', 'nugetpack']);
grunt.registerTask('package', ['clean', 'default', 'copy:umbraco', 'mkdir:pkg', 'umbracoPackage']);

};
Expand Down

0 comments on commit c8c349f

Please sign in to comment.