This repository was archived by the owner on Feb 22, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 8 files changed +54
-25
lines changed Expand file tree Collapse file tree 8 files changed +54
-25
lines changed Original file line number Diff line number Diff line change 87
87
_ReSharper * /
88
88
* . [Rr ]e [Ss ]harper
89
89
* .DotSettings.user
90
+ .idea /
90
91
91
92
# JustCode is a .NET coding addin-in
92
93
.JustCode
Original file line number Diff line number Diff line change 1
1
language : csharp
2
2
3
- mono : 5.2.0
4
- dotnet : 2.0.0
3
+ dotnet : 2.1.402
4
+
5
+ mono :
6
+ - 5.2.0
5
7
6
8
install :
7
9
- mozroots --import --sync
@@ -13,21 +15,21 @@ matrix:
13
15
- os : linux # Ubuntu 14.04
14
16
dist : trusty
15
17
sudo : required
16
- dotnet : 2.0.0
18
+ dotnet : 2.1.402
17
19
- os : osx # OSX 10.12
18
20
osx_image : xcode9.1
19
- dotnet : 2.0.0
21
+ dotnet : 2.1.402
20
22
dist : trusty
21
23
sudo : required
22
24
23
25
script :
24
26
- dotnet --info
25
27
- dotnet restore
26
28
- dotnet build -c Release
27
- - dotnet test tests/Freya.Core.Tests/Freya.Core.Tests.fsproj -c Release
28
- - dotnet test tests/Freya.Core.Hopac.Tests/Freya.Core.Hopac.Tests.fsproj -c Release
29
- - dotnet pack -c Release --include-symbols
30
- - dotnet tests/Freya.Core.Benchmarks/bin/Release/netcoreapp2.0 /Freya.Core.Benchmarks.dll
29
+ - dotnet test --no-build tests/Freya.Core.Tests/Freya.Core.Tests.fsproj -c Release
30
+ - dotnet test --no-build tests/Freya.Core.Hopac.Tests/Freya.Core.Hopac.Tests.fsproj -c Release
31
+ - dotnet pack --no-build - c Release --include-symbols
32
+ - dotnet tests/Freya.Core.Benchmarks/bin/Release/netcoreapp2.1 /Freya.Core.Benchmarks.dll
31
33
32
34
branches :
33
35
except :
Original file line number Diff line number Diff line change 1
- version : 4.0.0-aci-{build}
2
-
1
+ image : Visual Studio 2017
3
2
build_script :
4
- - ps : dotnet --info
5
- - ps : dotnet restore
6
- - ps : dotnet build -c Release --version-suffix "aci-${env:APPVEYOR_BUILD_NUMBER}"
7
- - ps : dotnet test -c Release tests\Freya.Core.Tests\Freya.Core.Tests.fsproj
8
- - ps : dotnet test -c Release tests\Freya.Core.Hopac.Tests\Freya.Core.Hopac.Tests.fsproj
9
- - ps : dotnet pack -c Release --include-symbols --version-suffix "aci-${env:APPVEYOR_BUILD_NUMBER}"
10
- - ps : dotnet .\tests\Freya.Core.Benchmarks\bin\Release\netcoreapp2.0\Freya.Core.Benchmarks.dll
11
-
12
- test : off
13
-
3
+ - ps : |
4
+ .\build.ps1
5
+ if ($lastexitcode -ne 0){ exit $lastexitcode }
14
6
artifacts :
15
- - path : ' ** \*.nupkg'
16
- - path : ' **\BenchmarkDotNet.Artifacts\**\*.*'
7
+ - path : bin \*.nupkg
8
+ - path : ' **\BenchmarkDotNet.Artifacts\**\*.*'
Original file line number Diff line number Diff line change
1
+ [xml ]$doc = Get-Content .\src\Directory.Build.props
2
+ $version = $doc.Project.PropertyGroup.VersionPrefix # the version under development, update after a release
3
+ $versionSuffix = ' -build.0' # manually incremented for local builds
4
+
5
+ function isVersionTag ($tag ){
6
+ $v = New-Object Version
7
+ [Version ]::TryParse($tag , [ref ]$v )
8
+ }
9
+
10
+ if ($env: appveyor ){
11
+ $versionSuffix = ' -build.' + $env: appveyor_build_number
12
+ if ($env: appveyor_repo_tag -eq ' true' -and (isVersionTag($env: appveyor_repo_tag_name ))){
13
+ $version = $env: appveyor_repo_tag_name
14
+ $versionSuffix = ' '
15
+ }
16
+ Update-AppveyorBuild - Version " $version$versionSuffix "
17
+ }
18
+
19
+ dotnet build - c Release Freya.Core.sln / p:Version= $version$versionSuffix
20
+ dotnet test -- no- build - c Release tests/ Freya.Core.Tests/ Freya.Core.Tests.fsproj
21
+ dotnet test -- no- build - c Release tests/ Freya.Core.Hopac.Tests/ Freya.Core.Hopac.Tests.fsproj
22
+ dotnet pack -- no- build - c Release src/ Freya.Core / p:Version= $version$versionSuffix - o $psscriptroot / bin
23
+ dotnet pack -- no- build - c Release src/ Freya.Core.Hopac / p:Version= $version$versionSuffix - o $psscriptroot / bin
24
+ dotnet tests/ Freya.Core.Benchmarks/ bin/ Release/ netcoreapp2.1 / Freya.Core.Benchmarks.dll
Original file line number Diff line number Diff line change 12
12
<RepositoryUrl >https://github.com/xyncro/freya-core</RepositoryUrl >
13
13
<PackageTags >$(PackageTags);functional;web;freya;f#;fsharp</PackageTags >
14
14
<PackageTags Condition =" '$(Hopac)' == 'true'" >$(PackageTags);hopac</PackageTags >
15
+
16
+ <!-- SourceLink related properties https://github.com/dotnet/SourceLink#using-sourcelink -->
17
+ <PublishRepositoryUrl >true</PublishRepositoryUrl >
18
+ <EmbedUntrackedSources >true</EmbedUntrackedSources >
19
+ <AllowedOutputExtensionsInPackageBuildOutputFolder >$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder >
15
20
</PropertyGroup >
21
+ <ItemGroup >
22
+ <PackageReference Include =" Microsoft.SourceLink.GitHub" Version =" 1.0.0-*" PrivateAssets =" All" />
23
+ </ItemGroup >
16
24
</Project >
Original file line number Diff line number Diff line change 20
20
</ItemGroup >
21
21
22
22
<ItemGroup >
23
+ <PackageReference Update =" FSharp.Core" Version =" 4.3.4" />
23
24
<PackageReference Include =" Aether" Version =" [8.2.0,9)" />
24
25
</ItemGroup >
25
26
Original file line number Diff line number Diff line change 2
2
3
3
<PropertyGroup >
4
4
<OutputType >Exe</OutputType >
5
- <TargetFramework >netcoreapp2.0 </TargetFramework >
5
+ <TargetFramework >netcoreapp2.1 </TargetFramework >
6
6
<IsPackable >false</IsPackable >
7
7
<DebugType >none</DebugType >
8
8
<ServerGarbageCollection >true</ServerGarbageCollection >
Original file line number Diff line number Diff line change 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" >
2
3
<PropertyGroup >
3
4
<OutputType >Exe</OutputType >
4
- <TargetFramework >netcoreapp2.0 </TargetFramework >
5
+ <TargetFramework >netcoreapp2.1 </TargetFramework >
5
6
<DefineConstants Condition =" '$(Hopac)' == 'true'" >$(DefineConstants);HOPAC</DefineConstants >
6
7
<ServerGarbageCollection Condition =" '$(Hopac)' == 'true'" >true</ServerGarbageCollection >
7
8
<IsPackable >false</IsPackable >
You can’t perform that action at this time.
0 commit comments