Permalink
Browse files

Moved dummy and powerscript files

Moved files so that they do not end up twice in nuget package.
  • Loading branch information...
1 parent 660c657 commit e9eb07087587724f2c52fb92668177943e2f12bf @daniellee daniellee committed Aug 25, 2011
Showing with 9 additions and 2 deletions.
  1. +5 −0 packages/Install.ps1
  2. +2 −0 packages/InstallationDummyFile.txt
  3. +2 −2 packages/packaging.rb
View
@@ -0,0 +1,5 @@
+param($installPath, $toolsPath, $package, $project)
+
+$project.ProjectItems | ForEach { if ($_.Name -eq "InstallationDummyFile.txt") { $_.Remove() } }
+$projectPath = Split-Path $project.FullName -Parent
+Join-Path $projectPath "InstallationDummyFile.txt" | Remove-Item
@@ -0,0 +1,2 @@
+This file is added as part of the NuGet package installation process for the FluentMigrator.Tools package.
+It should be deleted automatically after installation is completed. If not, you can delete it manually.
View
@@ -46,8 +46,8 @@ def prepare_tools_package
FileUtils.mkdir_p output_directory_tools
FileUtils.mkdir_p output_directory_content
- copy_files './packages/luentMigrator.Tools/', output_directory_tools, 'install', ['ps1']
- copy_files './packages/luentMigrator.Tools/', output_directory_content, 'InstallationDummyFile', ['txt']
+ copy_files './packages/', output_directory_tools, 'install', ['ps1']
+ copy_files './packages/', output_directory_content, 'InstallationDummyFile', ['txt']
@platforms.each do |p|
FileUtils.mkdir_p output_directory_tools + p + '/'

0 comments on commit e9eb070

Please sign in to comment.