Skip to content

Commit 19427ba

Browse files
committed
Turn on TreatWarningsAsErrors for all warnings across the board
1 parent e30eb5d commit 19427ba

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

Directory.Build.props

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
11
<Project>
22
<Import Project="Version.props" />
3-
<PropertyGroup>
4-
<!-- Fail CI warning FS3511: This state machine is not statically compilable.-->
5-
<WarningsAsErrors>FS3511</WarningsAsErrors>
6-
</PropertyGroup>
73
</Project>

src/FSharp.Control.TaskSeq.SmokeTests/FSharp.Control.TaskSeq.SmokeTests.fsproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
<PropertyGroup>
44
<TargetFramework>net6.0</TargetFramework>
5+
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
56
</PropertyGroup>
67

78
<ItemGroup>

src/FSharp.Control.TaskSeq.Test/FSharp.Control.TaskSeq.Test.fsproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
44
<TargetFramework>net6.0</TargetFramework>
5+
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
56
</PropertyGroup>
67

78
<ItemGroup>

src/FSharp.Control.TaskSeq/FSharp.Control.TaskSeq.fsproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
<PropertyGroup>
44
<TargetFramework>netstandard2.1</TargetFramework>
5+
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
56
<GenerateDocumentationFile>true</GenerateDocumentationFile>
67
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
78
<Title>Computation expression 'taskSeq' for processing IAsyncEnumerable sequences and module functions</Title>
@@ -13,6 +14,8 @@ The 'taskSeq' computation expression adds support for awaitable asynchronous seq
1314

1415
Generates optimized IL code through resumable state machines, and comes with a comprehensive set of functions in module 'TaskSeq'. See README for documentation and more info.</Description>
1516
<Copyright>Copyright 2023</Copyright>
17+
18+
<!-- package stuff -->
1619
<PackageProjectUrl>https://github.com/fsprojects/FSharp.Control.TaskSeq</PackageProjectUrl>
1720
<RepositoryUrl>https://github.com/fsprojects/FSharp.Control.TaskSeq</RepositoryUrl>
1821
<PackageIcon>taskseq-icon.png</PackageIcon>

0 commit comments

Comments
 (0)