<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <TargetFramework>net8.0</TargetFramework>
    <!-- Don't create localization (en-US, etc) folders with resources -->
    <!-- https://github.com/dotnet/fsharp/issues/6007#issuecomment-547041463 -->
    <SatelliteResourceLanguages>en</SatelliteResourceLanguages>
    <RollForward>Major</RollForward>
    <ToolCommandName>fantomas</ToolCommandName>
    <PackAsTool>True</PackAsTool>
    <AssemblyName>fantomas</AssemblyName>
    <IsPackable>true</IsPackable>
    <RootNamespace>Fantomas</RootNamespace>
    <ErrorOnDuplicatePublishOutputFiles>false</ErrorOnDuplicatePublishOutputFiles>
  </PropertyGroup>
  <ItemGroup>
    <ProjectReference Include="..\Fantomas.Client\Fantomas.Client.fsproj" />
    <ProjectReference Include="..\Fantomas.Core\Fantomas.Core.fsproj" />
  </ItemGroup>
  <ItemGroup>
    <Compile Include="AssemblyInfo.fsi" />
    <Compile Include="AssemblyInfo.fs" />
    <Compile Include="Logging.fsi" />
    <Compile Include="Logging.fs" />
    <Compile Include="IgnoreFile.fsi" />
    <Compile Include="IgnoreFile.fs" />
    <Compile Include="EditorConfig.fsi" />
    <Compile Include="EditorConfig.fs" />
    <Compile Include="Format.fsi" />
    <Compile Include="Format.fs" />
    <Compile Include="Daemon.fsi" />
    <Compile Include="Daemon.fs" />
    <Compile Include="Program.fsi" />
    <Compile Include="Program.fs" />
  </ItemGroup>
  <ItemGroup>
    <PackageReference Include="FSharp.Core" />
    <PackageReference Include="Serilog"  />
    <PackageReference Include="Serilog.Sinks.Console" />
    <PackageReference Include="StreamJsonRpc" />
    <PackageReference Include="Argu" />
    <PackageReference Include="Thoth.Json.Net" />
    <PackageReference Include="SerilogTraceListener" />
    <PackageReference Include="editorconfig" />
    <PackageReference Include="Ignore" />
    <PackageReference Include="System.IO.Abstractions" />
    <PackageReference Include="Spectre.Console" />
  </ItemGroup>
</Project>