-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
migrate fake build script to a build project, update to new dotnet sd…
…k (7 for now) (#435) * migrate fake build script to a build project, update to new dotnet sdk (7 for now) * dotnet tools manifest * try another dotnet sdk for appveyor * oops, was still on vs 2017 on appveyor * sql 2019 on appveyor * missing build.fsproj * missing paket.references * fake needs --target now * adjust for warning as errors to not kill the build due to nuget warnings * adjust test projects to not include the .props stuff for now, also net462 instead of 461, netcoreapp3.1 instead of netcoreapp2.0 * provision for TypeProvider SDK having warnings right now * one more warning not as errors for type provider SDK * adjust the GenerateDocs to use fsianycpu, there seems to be a regression in dotnet fsi that causes "error FS0239: An implementation of the file or module 'FSI_0002_FSharp.Formatting$fsx' has already been given" * attempt to locate fsianycpu.exe for doc generation
- Loading branch information
1 parent
4ff78e2
commit 103fb5e
Showing
19 changed files
with
1,935 additions
and
659 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"version": 1, | ||
"isRoot": true, | ||
"tools": { | ||
"paket": { | ||
"version": "8.0.0", | ||
"commands": [ | ||
"paket" | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<Project> | ||
<PropertyGroup Condition="'$(MSBuildProjectExtension)' == '.fsproj'"> | ||
<!-- | ||
note: tolerate obsolete calls | ||
--> | ||
<WarningsNotAsErrors>$(WarningsNotAsErrors);44;</WarningsNotAsErrors> | ||
<LangVersion>latest</LangVersion> | ||
</PropertyGroup> | ||
<PropertyGroup> | ||
<Configuration Condition=" '$(Configuration)' == '' ">Release</Configuration> | ||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
<Deterministic>true</Deterministic> | ||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors> | ||
<!-- | ||
note: preclude few nuget warnings of breaking the build | ||
NU1504: Duplicate 'PackageReference' items found. Remove the duplicate items or use the Update functionality to ensure a consistent restore behavior. The duplicate 'PackageReference' items are: xxx 4.5.1, xxx 4.8.2. | ||
NU1701: Package 'xxx 14.0.1016.290' was restored using 'yyy' instead of the project target framework 'zzz'. This package may not be fully compatible with your project. | ||
NU1903: Package 'xxx' 2.0.0 has a known moderate severity vulnerability, https://github.com/advisories/xxx | ||
NU1903: Package 'xxx' 2.0.0 has a known high severity vulnerability, https://github.com/advisories/xxx | ||
NU1904: Package 'xxx' 5.0.0 has a known critical severity vulnerability, https://github.com/advisories/xxx | ||
--> | ||
<WarningsNotAsErrors>$(WarningsNotAsErrors);NU1504;NU1701;NU1902;NU1903;NU1904</WarningsNotAsErrors> | ||
</PropertyGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,11 @@ | ||
init: | ||
- git config --global core.autocrlf input | ||
image: Visual Studio 2017 | ||
- net start MSSQL$SQL2019 | ||
image: Visual Studio 2022 | ||
build_script: | ||
- cmd: build.cmd GenerateDocs | ||
- cmd: build.cmd --target GenerateDocs | ||
test: off | ||
version: 0.0.1.{build} | ||
artifacts: | ||
- path: bin | ||
name: bin | ||
services: | ||
- mssql2014 | ||
name: bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
@echo off | ||
|
||
.paket\paket.bootstrapper.exe | ||
dotnet tool restore | ||
if errorlevel 1 ( | ||
exit /b %errorlevel% | ||
) | ||
|
||
.paket\paket.exe restore | ||
dotnet paket restore | ||
if errorlevel 1 ( | ||
exit /b %errorlevel% | ||
) | ||
|
||
packages\build\FAKE\tools\FAKE.exe --removeLegacyFakeWarning build.fsx %* | ||
dotnet run --project build %* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.