Skip to content
This repository was archived by the owner on Feb 22, 2022. It is now read-only.

Commit 484c4aa

Browse files
authored
Merge pull request #3 from panesofglass/netstandard2.0
Update to netstandard2.0
2 parents 9fe31e2 + b35598e commit 484c4aa

File tree

6 files changed

+38
-14
lines changed

6 files changed

+38
-14
lines changed

.travis.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
language: csharp
2+
3+
mono: 5.2.0
4+
dotnet: 2.0.0
5+
6+
install:
7+
- mozroots --import --sync
8+
# workaround for missing .net 4.5 targing pack
9+
- export FrameworkPathOverride=$(dirname $(which mono))/../lib/mono/4.5/
10+
11+
matrix:
12+
include:
13+
- os: linux # Ubuntu 14.04
14+
dist: trusty
15+
sudo: required
16+
dotnet: 2.0.0
17+
- os: osx # OSX 10.12
18+
osx_image: xcode9.1
19+
dotnet: 2.0.0
20+
dist: trusty
21+
sudo: required
22+
23+
script:
24+
- dotnet --info
25+
- dotnet restore
26+
- dotnet build -c Release
27+
- dotnet pack -c Release --include-symbols
28+
29+
branches:
30+
except:
31+
- gh-pages

global.json

Lines changed: 0 additions & 5 deletions
This file was deleted.

nuget.props renamed to src/Directory.Build.props

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
<Project>
1+
<?xml version="1.0" encoding="utf-8" standalone="no"?>
2+
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
23
<PropertyGroup>
34
<VersionPrefix>4.0.0</VersionPrefix>
45
<Authors>Andrew Cherry, Ryan Riley, Marcus Griep</Authors>

src/Freya.Testing.Common.targets

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,22 @@
11
<Project>
22
<PropertyGroup>
3-
<TargetFrameworks>net45;netstandard1.6</TargetFrameworks>
3+
<TargetFrameworks>netstandard2.0;net45</TargetFrameworks>
44
<GenerateDocumentationFile>true</GenerateDocumentationFile>
55
<DefineConstants Condition="'$(Hopac)' == 'true'">$(DefineConstants);HOPAC</DefineConstants>
66
</PropertyGroup>
7-
<Import Project="..\nuget.props" />
87
<ItemGroup>
98
<Compile Include="$(MSBuildThisFileDirectory)Freya.Testing\Testing.fs" />
109
</ItemGroup>
1110
<ItemGroup>
12-
<PackageReference Include="FSharp.NET.Sdk" Version="1.*" PrivateAssets="All" />
13-
<PackageReference Include="FSharp.Core" Version="4.1.0" />
1411
<PackageReference Include="Aether" Version="[8.2.0,9)" />
1512
</ItemGroup>
1613

1714
<ItemGroup Condition="'$(TargetFramework)' == 'net45'">
1815
<PackageReference Include="Unquote" Version="3.1.2" />
1916
</ItemGroup>
2017

21-
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard1.6'">
22-
<PackageReference Include="Unquote" Version="3.1.3-alpha-*" />
18+
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
19+
<PackageReference Include="Unquote" Version="4.*" />
2320
</ItemGroup>
2421

2522
<ItemGroup Condition="'$(Hopac)' != 'true'">

src/Freya.Testing.Hopac/Freya.Testing.Hopac.fsproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Project Sdk="FSharp.NET.Sdk;Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<Hopac>true</Hopac>
44
</PropertyGroup>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
<Project Sdk="FSharp.NET.Sdk;Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22
<Import Project="..\Freya.Testing.Common.targets" />
33
</Project>

0 commit comments

Comments
 (0)