Permalink
Browse files

Fix rakefile to include all relevant dlls

After changes to the Runner project where all references to the
database dlls were replaced with factories, the rakefile no longer
included the postgres, mysql and sqlite dlls in the nuget package.
Changed the rakefile to copy these dlls from the lib folder instead
of from FluentMigrator.Console/bin/Release
  • Loading branch information...
1 parent bf90226 commit 4ed91c0ee2fd3ede778b9a9ed4442146401cd2cc @daniellee daniellee committed Jul 18, 2012
@@ -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.2.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.
+<?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>
@@ -1,2 +1,2 @@
-<?xml version='1.0'?><package xmlns='http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd'><metadata><id>FluentMigrator</id><version>1.0.2.0</version><title>Fluent Migrator</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.
+<?xml version='1.0'?><package xmlns='http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd'><metadata><id>FluentMigrator</id><version>1.0.3.0</version><title>Fluent Migrator</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>
View
@@ -15,7 +15,7 @@
# ]
#end
-FLUENTMIGRATOR_VERSION = "1.0.2.0"
+FLUENTMIGRATOR_VERSION = "1.0.3.0"
def to_nuget_version(v)
v[1] + v[3]
View
@@ -39,7 +39,8 @@
desc "build the console app for target .NET Framework version ${v}"
task "console-#{v}-#{p}" => [:release, "compile-console-#{v}-#{p}", "dist/console-#{v}-#{p}"] do
- cp_r FileList['src/FluentMigrator.Console/bin/Release/*'], "dist/console-#{v}-#{p}"
+ cp_r FileList['lib/Postgres/*', 'lib/MySql.Data.dll', 'lib/Oracle.DataAccess.dll', 'lib/System.Data.SQLite.dll', 'lib/SQLServerCE4/Private/*'], "dist/console-#{v}-#{p}"
+ cp_r FileList['src/FluentMigrator.Console/bin/Release/*'].exclude('src/FluentMigrator.Console/bin/Release/SQLServerCENative'), "dist/console-#{v}-#{p}"
cp_r FileList['src/FluentMigrator.Nant/bin/Release/FluentMigrator.Nant.*'], "dist/console-#{v}-#{p}"
cp_r FileList['src/FluentMigrator.MSBuild/bin/Release/FluentMigrator.MSBuild.*'], "dist/console-#{v}-#{p}"

0 comments on commit 4ed91c0

Please sign in to comment.