physique 0.3.10 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (109) hide show
  1. checksums.yaml +4 -4
  2. data/FLUENT_MIGRATOR.md +300 -300
  3. data/Gemfile +3 -3
  4. data/Gemfile.lock +51 -11
  5. data/Guardfile +34 -0
  6. data/README.md +368 -368
  7. data/RUBY_SETUP.md +14 -14
  8. data/Rakefile +1 -1
  9. data/lib/physique.rb +22 -22
  10. data/lib/physique/config.rb +23 -23
  11. data/lib/physique/dsl.rb +46 -46
  12. data/lib/physique/project_path_resolver.rb +45 -45
  13. data/lib/physique/solution.rb +72 -72
  14. data/lib/physique/task_builders/build.rb +76 -69
  15. data/lib/physique/task_builders/default.rb +19 -19
  16. data/lib/physique/task_builders/fluent_migrator.rb +302 -299
  17. data/lib/physique/task_builders/nuget.rb +18 -6
  18. data/lib/physique/task_builders/octopus.rb +4 -2
  19. data/lib/physique/task_builders/publish_nugets.rb +5 -3
  20. data/lib/physique/task_builders/test.rb +4 -4
  21. data/lib/physique/tasks/fluent_migrator.rb +158 -158
  22. data/lib/physique/tasks/nugets_pack.rb +12 -12
  23. data/lib/physique/tasks/octopus_pack.rb +1 -1
  24. data/lib/physique/tasks/sqlcmd.rb +109 -109
  25. data/lib/physique/tasks/versionizer.rb +112 -112
  26. data/lib/physique/tasks_builder.rb +59 -59
  27. data/lib/physique/tool_locator.rb +50 -50
  28. data/lib/physique/version.rb +3 -3
  29. data/physique.gemspec +29 -28
  30. data/spec/fluent_migrator_config_spec.rb +39 -39
  31. data/spec/project_spec.rb +42 -42
  32. data/spec/publish_nugets_spec.rb +40 -40
  33. data/spec/solution_spec.rb +11 -11
  34. data/spec/sqlcmd_spec.rb +146 -146
  35. data/spec/support/shared_contexts/rake.rb +20 -21
  36. data/spec/task_builders/build_spec.rb +25 -25
  37. data/spec/task_builders/default_spec.rb +17 -17
  38. data/spec/task_builders/fluent_migrator_spec.rb +70 -68
  39. data/spec/task_builders/nspec_spec.rb +13 -13
  40. data/spec/task_builders/nuget_spec.rb +16 -16
  41. data/spec/test_data/solutions/.nuget/NuGet.Config +5 -5
  42. data/spec/test_data/solutions/.nuget/NuGet.exe +0 -0
  43. data/spec/test_data/solutions/.nuget/NuGet.targets +144 -144
  44. data/spec/test_data/solutions/.nuget/packages.config +3 -3
  45. data/spec/test_data/solutions/basic/.semver +6 -6
  46. data/spec/test_data/solutions/basic/Basic.Tests/Basic.Tests.csproj +58 -58
  47. data/spec/test_data/solutions/basic/Basic.Tests/Class1.cs +14 -14
  48. data/spec/test_data/solutions/basic/Basic.Tests/Properties/AssemblyInfo.cs +36 -36
  49. data/spec/test_data/solutions/basic/Basic.Tests/packages.config +3 -3
  50. data/spec/test_data/solutions/basic/Basic.sln +28 -28
  51. data/spec/test_data/solutions/basic/Basic/Basic.csproj +52 -52
  52. data/spec/test_data/solutions/basic/Basic/Class1.cs +12 -12
  53. data/spec/test_data/solutions/basic/Basic/Properties/AssemblyInfo.cs +36 -36
  54. data/spec/test_data/solutions/basic/Rakefile.rb +10 -10
  55. data/spec/test_data/solutions/basic/packages.config +3 -3
  56. data/spec/test_data/solutions/fluent-migrator/.semver +6 -6
  57. data/spec/test_data/solutions/fluent-migrator/Basic.Migrations/Migrations/.gitkeep +0 -0
  58. data/spec/test_data/solutions/fluent-migrator/Basic.Migrations/Properties/AssemblyInfo.cs +36 -36
  59. data/spec/test_data/solutions/fluent-migrator/Basic.Migrations/TestMigration.cs +19 -19
  60. data/spec/test_data/solutions/fluent-migrator/Basic.Migrations/_Scripts/create.sql +1 -1
  61. data/spec/test_data/solutions/fluent-migrator/Basic.Migrations/_Scripts/drop.sql +4 -4
  62. data/spec/test_data/solutions/fluent-migrator/Basic.Migrations/_Scripts/seed.sql +1 -1
  63. data/spec/test_data/solutions/fluent-migrator/Basic.Migrations/packages.config +3 -3
  64. data/spec/test_data/solutions/fluent-migrator/Basic.Specs/Basic.Specs.csproj +59 -59
  65. data/spec/test_data/solutions/fluent-migrator/Basic.Specs/Class1.cs +12 -12
  66. data/spec/test_data/solutions/fluent-migrator/Basic.Specs/DebuggerShim.cs +42 -42
  67. data/spec/test_data/solutions/fluent-migrator/Basic.Specs/Properties/AssemblyInfo.cs +36 -36
  68. data/spec/test_data/solutions/fluent-migrator/Basic.Specs/packages.config +3 -3
  69. data/spec/test_data/solutions/fluent-migrator/Basic.sln +39 -39
  70. data/spec/test_data/solutions/fluent-migrator/Basic/Basic.csproj +55 -55
  71. data/spec/test_data/solutions/fluent-migrator/Basic/Class1.cs +12 -12
  72. data/spec/test_data/solutions/fluent-migrator/Basic/Properties/AssemblyInfo.cs +36 -36
  73. data/spec/test_data/solutions/fluent-migrator/Basic/packages.config +2 -2
  74. data/spec/test_data/solutions/fluent-migrator/Rakefile.rb +20 -20
  75. data/spec/test_data/solutions/multiple-fluent-migrator/.semver +6 -6
  76. data/spec/test_data/solutions/multiple-fluent-migrator/Basic.Migrations1/Basic.Migrations1.csproj +52 -52
  77. data/spec/test_data/solutions/multiple-fluent-migrator/Basic.Migrations1/Class1.cs +12 -12
  78. data/spec/test_data/solutions/multiple-fluent-migrator/Basic.Migrations1/Properties/AssemblyInfo.cs +36 -36
  79. data/spec/test_data/solutions/multiple-fluent-migrator/Basic.Migrations2/Basic.Migrations2.csproj +52 -52
  80. data/spec/test_data/solutions/multiple-fluent-migrator/Basic.Migrations2/Class1.cs +12 -12
  81. data/spec/test_data/solutions/multiple-fluent-migrator/Basic.Migrations2/Properties/AssemblyInfo.cs +36 -36
  82. data/spec/test_data/solutions/multiple-fluent-migrator/Basic.Specs/Basic.Specs.csproj +59 -59
  83. data/spec/test_data/solutions/multiple-fluent-migrator/Basic.Specs/Class1.cs +12 -12
  84. data/spec/test_data/solutions/multiple-fluent-migrator/Basic.Specs/DebuggerShim.cs +42 -42
  85. data/spec/test_data/solutions/multiple-fluent-migrator/Basic.Specs/Properties/AssemblyInfo.cs +36 -36
  86. data/spec/test_data/solutions/multiple-fluent-migrator/Basic.Specs/packages.config +3 -3
  87. data/spec/test_data/solutions/multiple-fluent-migrator/Basic.sln +45 -45
  88. data/spec/test_data/solutions/multiple-fluent-migrator/Basic/Basic.csproj +55 -55
  89. data/spec/test_data/solutions/multiple-fluent-migrator/Basic/Class1.cs +12 -12
  90. data/spec/test_data/solutions/multiple-fluent-migrator/Basic/Properties/AssemblyInfo.cs +36 -36
  91. data/spec/test_data/solutions/multiple-fluent-migrator/Basic/packages.config +2 -2
  92. data/spec/test_data/solutions/multiple-fluent-migrator/Rakefile.rb +28 -28
  93. data/spec/test_data/solutions/nspec/.semver +6 -6
  94. data/spec/test_data/solutions/nspec/Basic.Specs/Basic.Specs.csproj +59 -59
  95. data/spec/test_data/solutions/nspec/Basic.Specs/Class1.cs +12 -12
  96. data/spec/test_data/solutions/nspec/Basic.Specs/DebuggerShim.cs +42 -42
  97. data/spec/test_data/solutions/nspec/Basic.Specs/Properties/AssemblyInfo.cs +36 -36
  98. data/spec/test_data/solutions/nspec/Basic.Specs/packages.config +3 -3
  99. data/spec/test_data/solutions/nspec/Basic.sln +28 -28
  100. data/spec/test_data/solutions/nspec/Basic/Basic.csproj +55 -55
  101. data/spec/test_data/solutions/nspec/Basic/Class1.cs +12 -12
  102. data/spec/test_data/solutions/nspec/Basic/Properties/AssemblyInfo.cs +36 -36
  103. data/spec/test_data/solutions/nspec/Basic/packages.config +2 -2
  104. data/spec/test_data/solutions/nspec/Rakefile.rb +14 -14
  105. data/spec/test_data/tool_locator/Program Files/Microsoft SQL Server/110/Tools/Binn/SQLCMD.exe.txt b/data/spec/test_data/tool_locator/Program Files/Microsoft SQL → Server/110/Tools/Binn/SQLCMD.exe.txt +0 -0
  106. data/spec/test_data/tool_locator/Windows/Microsoft.NET/Framework/v3.5/MSBuild.exe.txt +0 -0
  107. data/spec/test_data/tool_locator/Windows/Microsoft.NET/Framework/v4.0.30319/MSBuild.exe.txt +0 -0
  108. data/spec/tool_locator_spec.rb +27 -29
  109. metadata +33 -16
@@ -1,4 +1,4 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <packages>
3
- <package id="nspec" version="0.9.68" targetFramework="net45" />
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <packages>
3
+ <package id="nspec" version="0.9.68" targetFramework="net45" />
4
4
  </packages>
@@ -1,39 +1,39 @@
1
- 
2
- Microsoft Visual Studio Solution File, Format Version 12.00
3
- # Visual Studio 2013
4
- VisualStudioVersion = 12.0.30110.0
5
- MinimumVisualStudioVersion = 10.0.40219.1
6
- Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Basic", "Basic\Basic.csproj", "{AFDC274D-E5E5-4B37-AA08-4878AA382A12}"
7
- EndProject
8
- Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Basic.Migrations", "Basic.Migrations\Basic.Migrations.csproj", "{C83D38D4-840D-4D0A-A44D-37B31BEF32A7}"
9
- EndProject
10
- Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Basic.Specs", "Basic.Specs\Basic.Specs.csproj", "{85BD5CF1-C9BF-4F94-9063-C72C165A327C}"
11
- EndProject
12
- Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{4D4B3ACF-4969-4F83-9B84-DFEB7293CD76}"
13
- ProjectSection(SolutionItems) = preProject
14
- Rakefile.rb = Rakefile.rb
15
- EndProjectSection
16
- EndProject
17
- Global
18
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
19
- Debug|Any CPU = Debug|Any CPU
20
- Release|Any CPU = Release|Any CPU
21
- EndGlobalSection
22
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
23
- {AFDC274D-E5E5-4B37-AA08-4878AA382A12}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
24
- {AFDC274D-E5E5-4B37-AA08-4878AA382A12}.Debug|Any CPU.Build.0 = Debug|Any CPU
25
- {AFDC274D-E5E5-4B37-AA08-4878AA382A12}.Release|Any CPU.ActiveCfg = Release|Any CPU
26
- {AFDC274D-E5E5-4B37-AA08-4878AA382A12}.Release|Any CPU.Build.0 = Release|Any CPU
27
- {C83D38D4-840D-4D0A-A44D-37B31BEF32A7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
28
- {C83D38D4-840D-4D0A-A44D-37B31BEF32A7}.Debug|Any CPU.Build.0 = Debug|Any CPU
29
- {C83D38D4-840D-4D0A-A44D-37B31BEF32A7}.Release|Any CPU.ActiveCfg = Release|Any CPU
30
- {C83D38D4-840D-4D0A-A44D-37B31BEF32A7}.Release|Any CPU.Build.0 = Release|Any CPU
31
- {85BD5CF1-C9BF-4F94-9063-C72C165A327C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
32
- {85BD5CF1-C9BF-4F94-9063-C72C165A327C}.Debug|Any CPU.Build.0 = Debug|Any CPU
33
- {85BD5CF1-C9BF-4F94-9063-C72C165A327C}.Release|Any CPU.ActiveCfg = Release|Any CPU
34
- {85BD5CF1-C9BF-4F94-9063-C72C165A327C}.Release|Any CPU.Build.0 = Release|Any CPU
35
- EndGlobalSection
36
- GlobalSection(SolutionProperties) = preSolution
37
- HideSolutionNode = FALSE
38
- EndGlobalSection
39
- EndGlobal
1
+ 
2
+ Microsoft Visual Studio Solution File, Format Version 12.00
3
+ # Visual Studio 2013
4
+ VisualStudioVersion = 12.0.30110.0
5
+ MinimumVisualStudioVersion = 10.0.40219.1
6
+ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Basic", "Basic\Basic.csproj", "{AFDC274D-E5E5-4B37-AA08-4878AA382A12}"
7
+ EndProject
8
+ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Basic.Migrations", "Basic.Migrations\Basic.Migrations.csproj", "{C83D38D4-840D-4D0A-A44D-37B31BEF32A7}"
9
+ EndProject
10
+ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Basic.Specs", "Basic.Specs\Basic.Specs.csproj", "{85BD5CF1-C9BF-4F94-9063-C72C165A327C}"
11
+ EndProject
12
+ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{4D4B3ACF-4969-4F83-9B84-DFEB7293CD76}"
13
+ ProjectSection(SolutionItems) = preProject
14
+ Rakefile.rb = Rakefile.rb
15
+ EndProjectSection
16
+ EndProject
17
+ Global
18
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
19
+ Debug|Any CPU = Debug|Any CPU
20
+ Release|Any CPU = Release|Any CPU
21
+ EndGlobalSection
22
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
23
+ {AFDC274D-E5E5-4B37-AA08-4878AA382A12}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
24
+ {AFDC274D-E5E5-4B37-AA08-4878AA382A12}.Debug|Any CPU.Build.0 = Debug|Any CPU
25
+ {AFDC274D-E5E5-4B37-AA08-4878AA382A12}.Release|Any CPU.ActiveCfg = Release|Any CPU
26
+ {AFDC274D-E5E5-4B37-AA08-4878AA382A12}.Release|Any CPU.Build.0 = Release|Any CPU
27
+ {C83D38D4-840D-4D0A-A44D-37B31BEF32A7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
28
+ {C83D38D4-840D-4D0A-A44D-37B31BEF32A7}.Debug|Any CPU.Build.0 = Debug|Any CPU
29
+ {C83D38D4-840D-4D0A-A44D-37B31BEF32A7}.Release|Any CPU.ActiveCfg = Release|Any CPU
30
+ {C83D38D4-840D-4D0A-A44D-37B31BEF32A7}.Release|Any CPU.Build.0 = Release|Any CPU
31
+ {85BD5CF1-C9BF-4F94-9063-C72C165A327C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
32
+ {85BD5CF1-C9BF-4F94-9063-C72C165A327C}.Debug|Any CPU.Build.0 = Debug|Any CPU
33
+ {85BD5CF1-C9BF-4F94-9063-C72C165A327C}.Release|Any CPU.ActiveCfg = Release|Any CPU
34
+ {85BD5CF1-C9BF-4F94-9063-C72C165A327C}.Release|Any CPU.Build.0 = Release|Any CPU
35
+ EndGlobalSection
36
+ GlobalSection(SolutionProperties) = preSolution
37
+ HideSolutionNode = FALSE
38
+ EndGlobalSection
39
+ EndGlobal
@@ -1,56 +1,56 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
- <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
4
- <PropertyGroup>
5
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6
- <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7
- <ProjectGuid>{AFDC274D-E5E5-4B37-AA08-4878AA382A12}</ProjectGuid>
8
- <OutputType>Library</OutputType>
9
- <AppDesignerFolder>Properties</AppDesignerFolder>
10
- <RootNamespace>Basic</RootNamespace>
11
- <AssemblyName>Basic</AssemblyName>
12
- <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
13
- <FileAlignment>512</FileAlignment>
14
- </PropertyGroup>
15
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
16
- <DebugSymbols>true</DebugSymbols>
17
- <DebugType>full</DebugType>
18
- <Optimize>false</Optimize>
19
- <OutputPath>bin\Debug\</OutputPath>
20
- <DefineConstants>DEBUG;TRACE</DefineConstants>
21
- <ErrorReport>prompt</ErrorReport>
22
- <WarningLevel>4</WarningLevel>
23
- </PropertyGroup>
24
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
25
- <DebugType>pdbonly</DebugType>
26
- <Optimize>true</Optimize>
27
- <OutputPath>bin\Release\</OutputPath>
28
- <DefineConstants>TRACE</DefineConstants>
29
- <ErrorReport>prompt</ErrorReport>
30
- <WarningLevel>4</WarningLevel>
31
- </PropertyGroup>
32
- <ItemGroup>
33
- <Reference Include="System" />
34
- <Reference Include="System.Core" />
35
- <Reference Include="System.Xml.Linq" />
36
- <Reference Include="System.Data.DataSetExtensions" />
37
- <Reference Include="Microsoft.CSharp" />
38
- <Reference Include="System.Data" />
39
- <Reference Include="System.Xml" />
40
- </ItemGroup>
41
- <ItemGroup>
42
- <Compile Include="Class1.cs" />
43
- <Compile Include="Properties\AssemblyInfo.cs" />
44
- </ItemGroup>
45
- <ItemGroup>
46
- <None Include="packages.config" />
47
- </ItemGroup>
48
- <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
49
- <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
50
- Other similar extension points exist, see Microsoft.Common.targets.
51
- <Target Name="BeforeBuild">
52
- </Target>
53
- <Target Name="AfterBuild">
54
- </Target>
55
- -->
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+ <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
4
+ <PropertyGroup>
5
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7
+ <ProjectGuid>{AFDC274D-E5E5-4B37-AA08-4878AA382A12}</ProjectGuid>
8
+ <OutputType>Library</OutputType>
9
+ <AppDesignerFolder>Properties</AppDesignerFolder>
10
+ <RootNamespace>Basic</RootNamespace>
11
+ <AssemblyName>Basic</AssemblyName>
12
+ <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
13
+ <FileAlignment>512</FileAlignment>
14
+ </PropertyGroup>
15
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
16
+ <DebugSymbols>true</DebugSymbols>
17
+ <DebugType>full</DebugType>
18
+ <Optimize>false</Optimize>
19
+ <OutputPath>bin\Debug\</OutputPath>
20
+ <DefineConstants>DEBUG;TRACE</DefineConstants>
21
+ <ErrorReport>prompt</ErrorReport>
22
+ <WarningLevel>4</WarningLevel>
23
+ </PropertyGroup>
24
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
25
+ <DebugType>pdbonly</DebugType>
26
+ <Optimize>true</Optimize>
27
+ <OutputPath>bin\Release\</OutputPath>
28
+ <DefineConstants>TRACE</DefineConstants>
29
+ <ErrorReport>prompt</ErrorReport>
30
+ <WarningLevel>4</WarningLevel>
31
+ </PropertyGroup>
32
+ <ItemGroup>
33
+ <Reference Include="System" />
34
+ <Reference Include="System.Core" />
35
+ <Reference Include="System.Xml.Linq" />
36
+ <Reference Include="System.Data.DataSetExtensions" />
37
+ <Reference Include="Microsoft.CSharp" />
38
+ <Reference Include="System.Data" />
39
+ <Reference Include="System.Xml" />
40
+ </ItemGroup>
41
+ <ItemGroup>
42
+ <Compile Include="Class1.cs" />
43
+ <Compile Include="Properties\AssemblyInfo.cs" />
44
+ </ItemGroup>
45
+ <ItemGroup>
46
+ <None Include="packages.config" />
47
+ </ItemGroup>
48
+ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
49
+ <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
50
+ Other similar extension points exist, see Microsoft.Common.targets.
51
+ <Target Name="BeforeBuild">
52
+ </Target>
53
+ <Target Name="AfterBuild">
54
+ </Target>
55
+ -->
56
56
  </Project>
@@ -1,12 +1,12 @@
1
- using System;
2
-
3
- namespace Basic
4
- {
5
- public class Class1
6
- {
7
- public void Foo()
8
- {
9
- Console.WriteLine("Hello World");
10
- }
11
- }
12
- }
1
+ using System;
2
+
3
+ namespace Basic
4
+ {
5
+ public class Class1
6
+ {
7
+ public void Foo()
8
+ {
9
+ Console.WriteLine("Hello World");
10
+ }
11
+ }
12
+ }
@@ -1,36 +1,36 @@
1
- using System.Reflection;
2
- using System.Runtime.CompilerServices;
3
- using System.Runtime.InteropServices;
4
-
5
- // General Information about an assembly is controlled through the following
6
- // set of attributes. Change these attribute values to modify the information
7
- // associated with an assembly.
8
- [assembly: AssemblyTitle("Basic")]
9
- [assembly: AssemblyDescription("")]
10
- [assembly: AssemblyConfiguration("")]
11
- [assembly: AssemblyCompany("")]
12
- [assembly: AssemblyProduct("Basic")]
13
- [assembly: AssemblyCopyright("Copyright © 2015")]
14
- [assembly: AssemblyTrademark("")]
15
- [assembly: AssemblyCulture("")]
16
-
17
- // Setting ComVisible to false makes the types in this assembly not visible
18
- // to COM components. If you need to access a type in this assembly from
19
- // COM, set the ComVisible attribute to true on that type.
20
- [assembly: ComVisible(false)]
21
-
22
- // The following GUID is for the ID of the typelib if this project is exposed to COM
23
- [assembly: Guid("8a8fad25-33eb-4b1d-8a0b-11a2ac014f25")]
24
-
25
- // Version information for an assembly consists of the following four values:
26
- //
27
- // Major Version
28
- // Minor Version
29
- // Build Number
30
- // Revision
31
- //
32
- // You can specify all the values or you can default the Build and Revision Numbers
33
- // by using the '*' as shown below:
34
- // [assembly: AssemblyVersion("1.0.*")]
35
- [assembly: AssemblyVersion("1.0.0.0")]
36
- [assembly: AssemblyFileVersion("1.0.0.0")]
1
+ using System.Reflection;
2
+ using System.Runtime.CompilerServices;
3
+ using System.Runtime.InteropServices;
4
+
5
+ // General Information about an assembly is controlled through the following
6
+ // set of attributes. Change these attribute values to modify the information
7
+ // associated with an assembly.
8
+ [assembly: AssemblyTitle("Basic")]
9
+ [assembly: AssemblyDescription("")]
10
+ [assembly: AssemblyConfiguration("")]
11
+ [assembly: AssemblyCompany("")]
12
+ [assembly: AssemblyProduct("Basic")]
13
+ [assembly: AssemblyCopyright("Copyright © 2015")]
14
+ [assembly: AssemblyTrademark("")]
15
+ [assembly: AssemblyCulture("")]
16
+
17
+ // Setting ComVisible to false makes the types in this assembly not visible
18
+ // to COM components. If you need to access a type in this assembly from
19
+ // COM, set the ComVisible attribute to true on that type.
20
+ [assembly: ComVisible(false)]
21
+
22
+ // The following GUID is for the ID of the typelib if this project is exposed to COM
23
+ [assembly: Guid("8a8fad25-33eb-4b1d-8a0b-11a2ac014f25")]
24
+
25
+ // Version information for an assembly consists of the following four values:
26
+ //
27
+ // Major Version
28
+ // Minor Version
29
+ // Build Number
30
+ // Revision
31
+ //
32
+ // You can specify all the values or you can default the Build and Revision Numbers
33
+ // by using the '*' as shown below:
34
+ // [assembly: AssemblyVersion("1.0.*")]
35
+ [assembly: AssemblyVersion("1.0.0.0")]
36
+ [assembly: AssemblyFileVersion("1.0.0.0")]
@@ -1,3 +1,3 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <packages>
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <packages>
3
3
  </packages>
@@ -1,20 +1,20 @@
1
- require 'physique'
2
-
3
- Physique::Solution.new do |s|
4
- s.file = 'Basic.sln'
5
-
6
- s.use_nuget do |n|
7
- n.exe = '../.nuget/nuget.exe'
8
- n.restore_location = 'packages'
9
- end
10
-
11
- s.run_tests do |t|
12
- t.runner = :nspec
13
- end
14
-
15
- s.fluently_migrate do |t|
16
- t.instance = '(local)'
17
- t.name = 'MyDatabase'
18
- t.project = 'Basic.Migrations/Basic.Migrations.csproj'
19
- end
20
- end
1
+ require 'physique'
2
+
3
+ Physique::Solution.new do |s|
4
+ s.file = 'Basic.sln'
5
+
6
+ s.use_nuget do |n|
7
+ n.exe = '../.nuget/nuget.exe'
8
+ n.restore_location = 'packages'
9
+ end
10
+
11
+ s.run_tests do |t|
12
+ t.runner = :nspec
13
+ end
14
+
15
+ s.fluently_migrate do |t|
16
+ t.instance = ENV['DATABASE_INSTANCE'] || '(local)'
17
+ t.name = 'MyDatabase'
18
+ t.project = 'Basic.Migrations/Basic.Migrations.csproj'
19
+ end
20
+ end
@@ -1,6 +1,6 @@
1
- ---
2
- :major: 0
3
- :minor: 0
4
- :patch: 0
5
- :special: ''
6
- :metadata: ''
1
+ ---
2
+ :major: 0
3
+ :minor: 0
4
+ :patch: 0
5
+ :special: ''
6
+ :metadata: ''
@@ -1,53 +1,53 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
- <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
4
- <PropertyGroup>
5
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6
- <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7
- <ProjectGuid>{C83D38D4-840D-4D0A-A44D-37B31BEF32A7}</ProjectGuid>
8
- <OutputType>Library</OutputType>
9
- <AppDesignerFolder>Properties</AppDesignerFolder>
10
- <RootNamespace>Basic.Migrations1</RootNamespace>
11
- <AssemblyName>Basic.Migrations1</AssemblyName>
12
- <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
13
- <FileAlignment>512</FileAlignment>
14
- </PropertyGroup>
15
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
16
- <DebugSymbols>true</DebugSymbols>
17
- <DebugType>full</DebugType>
18
- <Optimize>false</Optimize>
19
- <OutputPath>bin\Debug\</OutputPath>
20
- <DefineConstants>DEBUG;TRACE</DefineConstants>
21
- <ErrorReport>prompt</ErrorReport>
22
- <WarningLevel>4</WarningLevel>
23
- </PropertyGroup>
24
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
25
- <DebugType>pdbonly</DebugType>
26
- <Optimize>true</Optimize>
27
- <OutputPath>bin\Release\</OutputPath>
28
- <DefineConstants>TRACE</DefineConstants>
29
- <ErrorReport>prompt</ErrorReport>
30
- <WarningLevel>4</WarningLevel>
31
- </PropertyGroup>
32
- <ItemGroup>
33
- <Reference Include="System" />
34
- <Reference Include="System.Core" />
35
- <Reference Include="System.Xml.Linq" />
36
- <Reference Include="System.Data.DataSetExtensions" />
37
- <Reference Include="Microsoft.CSharp" />
38
- <Reference Include="System.Data" />
39
- <Reference Include="System.Xml" />
40
- </ItemGroup>
41
- <ItemGroup>
42
- <Compile Include="Class1.cs" />
43
- <Compile Include="Properties\AssemblyInfo.cs" />
44
- </ItemGroup>
45
- <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
46
- <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
47
- Other similar extension points exist, see Microsoft.Common.targets.
48
- <Target Name="BeforeBuild">
49
- </Target>
50
- <Target Name="AfterBuild">
51
- </Target>
52
- -->
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+ <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
4
+ <PropertyGroup>
5
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7
+ <ProjectGuid>{C83D38D4-840D-4D0A-A44D-37B31BEF32A7}</ProjectGuid>
8
+ <OutputType>Library</OutputType>
9
+ <AppDesignerFolder>Properties</AppDesignerFolder>
10
+ <RootNamespace>Basic.Migrations1</RootNamespace>
11
+ <AssemblyName>Basic.Migrations1</AssemblyName>
12
+ <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
13
+ <FileAlignment>512</FileAlignment>
14
+ </PropertyGroup>
15
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
16
+ <DebugSymbols>true</DebugSymbols>
17
+ <DebugType>full</DebugType>
18
+ <Optimize>false</Optimize>
19
+ <OutputPath>bin\Debug\</OutputPath>
20
+ <DefineConstants>DEBUG;TRACE</DefineConstants>
21
+ <ErrorReport>prompt</ErrorReport>
22
+ <WarningLevel>4</WarningLevel>
23
+ </PropertyGroup>
24
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
25
+ <DebugType>pdbonly</DebugType>
26
+ <Optimize>true</Optimize>
27
+ <OutputPath>bin\Release\</OutputPath>
28
+ <DefineConstants>TRACE</DefineConstants>
29
+ <ErrorReport>prompt</ErrorReport>
30
+ <WarningLevel>4</WarningLevel>
31
+ </PropertyGroup>
32
+ <ItemGroup>
33
+ <Reference Include="System" />
34
+ <Reference Include="System.Core" />
35
+ <Reference Include="System.Xml.Linq" />
36
+ <Reference Include="System.Data.DataSetExtensions" />
37
+ <Reference Include="Microsoft.CSharp" />
38
+ <Reference Include="System.Data" />
39
+ <Reference Include="System.Xml" />
40
+ </ItemGroup>
41
+ <ItemGroup>
42
+ <Compile Include="Class1.cs" />
43
+ <Compile Include="Properties\AssemblyInfo.cs" />
44
+ </ItemGroup>
45
+ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
46
+ <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
47
+ Other similar extension points exist, see Microsoft.Common.targets.
48
+ <Target Name="BeforeBuild">
49
+ </Target>
50
+ <Target Name="AfterBuild">
51
+ </Target>
52
+ -->
53
53
  </Project>