Skip to content

Commit

Permalink
Added xunit visual studio test run integration.
Browse files Browse the repository at this point in the history
Consolidated .gitignore files into one at the top-level.


Former-commit-id: acea1f4
  • Loading branch information
bryanedds committed Aug 16, 2016
1 parent 4525089 commit 95e9696
Show file tree
Hide file tree
Showing 10 changed files with 23 additions and 266 deletions.
10 changes: 5 additions & 5 deletions Nu/.gitignore → .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ bin/
obj/
Refinement/

##########
# Custom #
##########

!Nu/Nu.Template.Export/NuGame.zip
#########
# Nuget #
#########
Packages/
!packages/repositories.config
43 changes: 0 additions & 43 deletions AStar/.gitignore

This file was deleted.

44 changes: 0 additions & 44 deletions BlazeVector/.gitignore

This file was deleted.

44 changes: 0 additions & 44 deletions InfinityRpg/.gitignore

This file was deleted.

5 changes: 5 additions & 0 deletions NuGet.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<configuration>
<config>
<add key="repositoryPath" value="./Packages" />
</config>
</configuration>
43 changes: 0 additions & 43 deletions Prime/.gitignore

This file was deleted.

4 changes: 4 additions & 0 deletions Prime/Prime/Prime/Packages.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="xunit.runner.visualstudio" version="2.1.0" targetFramework="net40" />
</packages>
9 changes: 9 additions & 0 deletions Prime/Prime/Prime/Prime.fsproj
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\..\..\Packages\xunit.runner.visualstudio.2.1.0\build\net20\xunit.runner.visualstudio.props" Condition="Exists('..\..\..\Packages\xunit.runner.visualstudio.2.1.0\build\net20\xunit.runner.visualstudio.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
Expand All @@ -12,6 +13,7 @@
<Name>Prime</Name>
<TargetFSharpCoreVersion>4.4.0.0</TargetFSharpCoreVersion>
<TargetFrameworkProfile />
<NuGetPackageImportStamp />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
Expand Down Expand Up @@ -59,6 +61,12 @@
</Otherwise>
</Choose>
<Import Project="$(FSharpTargetsPath)" Condition="Exists('$(FSharpTargetsPath)')" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('..\..\..\Packages\xunit.runner.visualstudio.2.1.0\build\net20\xunit.runner.visualstudio.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\..\Packages\xunit.runner.visualstudio.2.1.0\build\net20\xunit.runner.visualstudio.props'))" />
</Target>
<ItemGroup>
<Compile Include="Operators.fs" />
<Compile Include="Generics.fs" />
Expand Down Expand Up @@ -110,6 +118,7 @@
<Compile Include="Program.fs" />
<None Include="Interactive.fsx" />
<None Include="App.config" />
<Content Include="Packages.config" />
</ItemGroup>
<ItemGroup>
<Reference Include="FParsec">
Expand Down
43 changes: 0 additions & 43 deletions SDL2Addendum/.gitignore

This file was deleted.

44 changes: 0 additions & 44 deletions UserProjects/.gitignore

This file was deleted.

0 comments on commit 95e9696

Please sign in to comment.