Skip to content

Commit

Permalink
Fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
knocte committed Nov 11, 2023
1 parent e87dae8 commit b0dd4bd
Showing 1 changed file with 9 additions and 12 deletions.
21 changes: 9 additions & 12 deletions scripts/sanitycheck.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -161,17 +161,14 @@ FindOffendingPrintfUsage()

#if !LEGACY_FRAMEWORK

let mainSol = FsxHelper.GetSolution SolutionFile.Default
SanityCheckNugetPackages mainSol

match Misc.GuessPlatform() with
| Misc.Platform.Linux ->
FsxHelper.GetSolution SolutionFile.Linux
|> SanityCheckNugetPackages
| Misc.Platform.Mac ->
FsxHelper.GetSolution SolutionFile.Mac
|> SanityCheckNugetPackages
| _ ->
()
let sol =
match Misc.GuessPlatform() with
// TODO: add `Platform.Linux -> SolutionFile.Linux` case when we migrate to MALI/MAUI
| Misc.Platform.Mac when "msbuild" = Environment.GetEnvironmentVariable "LegacyBuildTool" ->
FsxHelper.GetSolution SolutionFile.Mac
| _ ->
// TODO: have a windows solution file
FsxHelper.GetSolution SolutionFile.Default
SanityCheckNugetPackages sol

#endif

0 comments on commit b0dd4bd

Please sign in to comment.