Skip to content

Commit

Permalink
Added a new rake task to nuke symbol pacakges
Browse files Browse the repository at this point in the history
  • Loading branch information
grumpydev committed Feb 3, 2013
1 parent 42cc9a2 commit 260eaae
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions rakefile.rb
Expand Up @@ -106,6 +106,15 @@
zip.output_path = "#{OUTPUT}/packages"
end

desc "Deletes symbol packages"
task :nuget_nuke_symbol_packages do
nupkgs = FileList['**/*.Symbols.nupkg']
nupkgs.each do |nupkg|
puts "Deleting #{nupkg}"
FileUtils.rm(nupkg)
end
end

desc "Generates NuGet packages for each project that contains a nuspec"
task :nuget_package => [:publish] do
if not File.directory? "#{OUTPUT}/nuget"
Expand Down

0 comments on commit 260eaae

Please sign in to comment.