Permalink
Browse files

Reverted #254 fixes 281

  • Loading branch information...
1 parent c8e5023 commit 5969210c420b3f6dac40a6a3321380b8244b18b9 @tommarien tommarien committed Jul 19, 2012
Showing with 8 additions and 2 deletions.
  1. +1 −1 packages/FluentMigrator.Tools/FluentMigrator.Tools.nuspec
  2. +7 −1 packages/packaging.rb
@@ -1,2 +1,2 @@
<?xml version='1.0'?><package xmlns='http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd'><metadata><id>FluentMigrator.Tools</id><version>1.0.3.0</version><title>Fluent Migrator Tools</title><authors>Josh Coffman</authors><description>FluentMigrator is a database migration framework for .NET written in C#. The basic idea is that you can create migrations which are simply classes that derive from the Migration base class and have a Migration attribute with a unique version number attached to them. Upon executing FluentMigrator, you tell it which version to migrate to and it will run all necessary migrations in order to bring your database up to that version.
- In addition to forward migration support, FluentMigrator also supports different ways to execute the migrations along with selective migrations called profiles and executing arbitrary SQL.</description><language>en-US</language><projectUrl>https://github.com/schambers/fluentmigrator/wiki/</projectUrl><owners>Sean Chambers</owners></metadata></package>
+ In addition to forward migration support, FluentMigrator also supports different ways to execute the migrations along with selective migrations called profiles and executing arbitrary SQL.</description><language>en-US</language><projectUrl>https://github.com/schambers/fluentmigrator/wiki/</projectUrl><owners>Sean Chambers</owners><dependencies><dependency id='FluentMigrator' version='1.0.3.0'/></dependencies></metadata></package>
@@ -41,9 +41,14 @@ def prepare_tools
def prepare_tools_package
output_directory_tools = './packages/FluentMigrator.Tools/tools/'
-
+ output_directory_content = './packages/FluentMigrator.Tools/content/'
+
+ FileUtils.mkdir_p output_directory_content
FileUtils.mkdir_p output_directory_tools
+ 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 + '/'
@versions.each do |v|
@@ -93,6 +98,7 @@ def prepare_tools_package
nuspec.projectUrl = "https://github.com/schambers/fluentmigrator/wiki/"
nuspec.working_directory = "packages/FluentMigrator.Tools"
nuspec.output_file = "FluentMigrator.Tools.nuspec"
+ nuspec.dependency "FluentMigrator", new_version
end
@platforms = ['x86', 'AnyCPU']

1 comment on commit 5969210

@tommarien
Member

fixes #281

Please sign in to comment.