grunt-nuget packaging for mac and linux
When building ShareCoffee, I recognized that building nuget packages doesn't work on mac or linux. Today I'd the chance to look again into this issue.
Responsible for the fact that I wasnt able to create the nuget packages on OSX or Linux was the .nuspec file. In order to build nuget packages on non windows systems, you've to use unix paths instead of windows paths.
Most other grunt-tasks are modifying all the paths depending on your environment.
So you've to provide the path in the following form for files.
<files> <file src="readme.txt" target="" /> <file src="dist/**.*" target="content/Scripts/ShareCoffee" /> </files>