This repository was archived by the owner on Feb 22, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 7 files changed +49
-26
lines changed
Expand file tree Collapse file tree 7 files changed +49
-26
lines changed Original file line number Diff line number Diff line change 8787_ReSharper * /
8888* . [Rr ]e [Ss ]harper
8989* .DotSettings.user
90+ .idea /
9091
9192# JustCode is a .NET coding addin-in
9293.JustCode
Original file line number Diff line number Diff line change 11language : csharp
22
3- mono : 5.2.0
4- dotnet : 2.0.0
3+ dotnet : 2.1.402
4+
5+ mono :
6+ - 5.2.0
57
68install :
79 - mozroots --import --sync
@@ -13,19 +15,19 @@ matrix:
1315 - os : linux # Ubuntu 14.04
1416 dist : trusty
1517 sudo : required
16- dotnet : 2.0.0
18+ dotnet : 2.1.402
1719 - os : osx # OSX 10.12
1820 osx_image : xcode9.1
19- dotnet : 2.0.0
21+ dotnet : 2.1.402
2022 dist : trusty
2123 sudo : required
2224
2325script :
2426 - dotnet --info
2527 - dotnet restore
2628 - dotnet build -c Release
27- - dotnet pack -c Release --include-symbols
29+ - dotnet pack --no-build - c Release --include-symbols
2830
2931branches :
3032 except :
31- - gh-pages
33+ - gh-pages
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- version : 4.0.0-aci-{build}
2-
1+ image : Visual Studio 2017
32build_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 pack -c Release --include-symbols --version-suffix "aci-${env:APPVEYOR_BUILD_NUMBER}"
8-
9- test : off
10-
3+ - ps : |
4+ .\build.ps1
5+ if ($lastexitcode -ne 0){ exit $lastexitcode }
116artifacts :
12- - path : ' **\*.nupkg'
13- - path : ' **\BenchmarkDotNet.Artifacts\**\*.*'
7+ - path : bin\*.nupkg
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.Testing.sln / p:Version= $version$versionSuffix
20+ dotnet pack -- no- build - c Release src/ Freya.Testing / p:Version= $version$versionSuffix - o $psscriptroot / bin
21+ dotnet pack -- no- build - c Release src/ Freya.Testing.Hopac / p:Version= $version$versionSuffix - o $psscriptroot / bin
Original file line number Diff line number Diff line change 1212 <RepositoryUrl >https://github.com/xyncro/freya-testing</RepositoryUrl >
1313 <PackageTags >$(PackageTags);functional;web;freya;testing;f#;fsharp</PackageTags >
1414 <PackageTags Condition =" '$(Hopac)' == 'true'" >$(PackageTags);hopac</PackageTags >
15+ <GenerateDocumentationFile >true</GenerateDocumentationFile >
16+
17+ <!-- SourceLink related properties https://github.com/dotnet/SourceLink#using-sourcelink -->
18+ <PublishRepositoryUrl >true</PublishRepositoryUrl >
19+ <EmbedUntrackedSources >true</EmbedUntrackedSources >
20+ <AllowedOutputExtensionsInPackageBuildOutputFolder >$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder >
1521 </PropertyGroup >
22+ <ItemGroup >
23+ <PackageReference Include =" Microsoft.SourceLink.GitHub" Version =" 1.0.0-*" PrivateAssets =" All" />
24+ </ItemGroup >
1625</Project >
Original file line number Diff line number Diff line change 11<Project >
22 <PropertyGroup >
33 <TargetFrameworks >netstandard2.0;net45</TargetFrameworks >
4- <GenerateDocumentationFile >true</GenerateDocumentationFile >
54 <DefineConstants Condition =" '$(Hopac)' == 'true'" >$(DefineConstants);HOPAC</DefineConstants >
65 </PropertyGroup >
6+
77 <ItemGroup >
88 <Compile Include =" $(MSBuildThisFileDirectory)Freya.Testing\Testing.fs" />
99 </ItemGroup >
10+
1011 <ItemGroup >
12+ <PackageReference Update =" FSharp.Core" Version =" 4.3.4" />
1113 <PackageReference Include =" Aether" Version =" [8.2.0,9)" />
1214 </ItemGroup >
1315
2022 </ItemGroup >
2123
2224 <ItemGroup Condition =" '$(Hopac)' != 'true'" >
23- <PackageReference Include =" Freya.Core" Version =" [4.0.0-alpha- *,5)" />
25+ <PackageReference Include =" Freya.Core" Version =" [4.0.*,5)" />
2426 </ItemGroup >
2527
2628 <ItemGroup Condition =" '$(Hopac)' == 'true'" >
27- <PackageReference Include =" Freya.Core.Hopac" Version =" [4.0.0-alpha- *,5)" />
29+ <PackageReference Include =" Freya.Core.Hopac" Version =" [4.0.*,5)" />
2830 <PackageReference Include =" Hopac" Version =" 0.3.23" />
2931 </ItemGroup >
3032</Project >
You can’t perform that action at this time.
0 commit comments