Skip to content

Commit

Permalink
Add MSBuild properties to pack Fable.Compiler.
Browse files Browse the repository at this point in the history
  • Loading branch information
nojaf committed Dec 6, 2023
1 parent 7230680 commit ba2fc17
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 6 deletions.
Binary file modified lib/fcs/nojaf/Debug/FSharp.Compiler.Service.dll
Binary file not shown.
Binary file modified lib/fcs/nojaf/Debug/FSharp.DependencyManager.Nuget.dll
Binary file not shown.
Binary file modified lib/fcs/nojaf/Release/FSharp.Compiler.Service.dll
Binary file not shown.
Binary file modified lib/fcs/nojaf/Release/FSharp.DependencyManager.Nuget.dll
Binary file not shown.
34 changes: 28 additions & 6 deletions src/Fable.Compiler/Fable.Compiler.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,14 @@
<TargetFramework>net6.0</TargetFramework>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<DisableImplicitFSharpCoreReference>true</DisableImplicitFSharpCoreReference>
<RootNamespace>Fable.Compiler.Service</RootNamespace>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
<RootNamespace>Fable.Compiler</RootNamespace>
<Version>0.1.0</Version>
</PropertyGroup>

<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<!-- Generate PDB files in release mode -->
<DebugType>portable</DebugType>
</PropertyGroup>

<ItemGroup>
Expand All @@ -20,19 +27,34 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\Fable.Transforms\Fable.Transforms.fsproj"/>
<ProjectReference Include="../Fable.AST/Fable.AST.fsproj" />
<ProjectReference Include="../Fable.Transforms/Fable.Transforms.fsproj" PrivateAssets="all" />
</ItemGroup>

<ItemGroup>
<Reference Include="../../lib/fcs/nojaf/Debug/FSharp.Core.dll"/>
<Reference Include="../../lib/fcs/nojaf/Debug/FSharp.Compiler.Service.dll"/>
<!-- <Reference Include="C:\Users\nojaf\Projects\fsharp\artifacts\bin\FSharp.Core\Release\netstandard2.0\FSharp.Core.dll" />-->
<!-- <Reference Include="C:\Users\nojaf\Projects\fsharp\artifacts\bin\FSharp.Compiler.Service\Release\netstandard2.0\FSharp.Compiler.Service.dll" />-->
<Reference Include="../../lib/fcs/nojaf/$(Configuration)/FSharp.Core.dll"/>
<Reference Include="../../lib/fcs/nojaf/$(Configuration)/FSharp.Compiler.Service.dll"/>
<Reference Include="../../lib/fcs/nojaf/$(Configuration)/FSharp.DependencyManager.Nuget.dll"/>
<!-- <Reference Include="C:/Users/nojaf/Projects/fsharp/artifacts/bin/FSharp.Core/Release/netstandard2.0/FSharp.Core.dll" />-->
<!-- <Reference Include="C:/Users/nojaf/Projects/fsharp/artifacts/bin/FSharp.Compiler.Service/Release/netstandard2.0/FSharp.Compiler.Service.dll" />-->
</ItemGroup>

<ItemGroup>
<PackageReference Include="FSharp.SystemTextJson" Version="1.2.42" />
<PackageReference Include="Buildalyzer" Version="5.0.1" />
</ItemGroup>

<ItemGroup>
<None Include="$(OutputPath)FSharp.Core.dll" Pack="true" PackagePath="lib/$(TargetFramework)" />
<None Include="$(OutputPath)FSharp.Compiler.Service.dll" Pack="true" PackagePath="lib/$(TargetFramework)" />
<None Include="$(OutputPath)FSharp.Compiler.Service.xml" Pack="true" PackagePath="lib/$(TargetFramework)" />
<None Include="$(OutputPath)FSharp.Compiler.Service.pdb" Pack="true" PackagePath="lib/$(TargetFramework)" />
<None Include="$(OutputPath)FSharp.DependencyManager.Nuget.dll" Pack="true" PackagePath="lib/$(TargetFramework)" />
<None Include="$(OutputPath)FSharp.DependencyManager.Nuget.xml" Pack="true" PackagePath="lib/$(TargetFramework)" />
<None Include="$(OutputPath)FSharp.DependencyManager.Nuget.pdb" Pack="true" PackagePath="lib/$(TargetFramework)" />
<None Include="$(OutputPath)Fable.Transforms.dll" Pack="true" PackagePath="lib/$(TargetFramework)" />
<None Include="$(OutputPath)Fable.Transforms.xml" Pack="true" PackagePath="lib/$(TargetFramework)" />
<None Include="$(OutputPath)Fable.Transforms.pdb" Pack="true" PackagePath="lib/$(TargetFramework)" />
</ItemGroup>

</Project>

0 comments on commit ba2fc17

Please sign in to comment.