Skip to content

Commit

Permalink
Use DotNet.ReproducibleBuilds (fsprojects#174)
Browse files Browse the repository at this point in the history
* DotNet.ReproducibleBuilds

* Remove packages.config

* Reinstate RepositoryUrl
  • Loading branch information
bartelink committed Feb 19, 2024
1 parent 294e852 commit 4a983a6
Show file tree
Hide file tree
Showing 8 changed files with 26 additions and 65 deletions.
10 changes: 2 additions & 8 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,11 @@
<Description>A declarative command line and XML configuration parser for F# applications.</Description>
<Authors>Eirik Tsarpalis</Authors>
<Copyright>2019</Copyright>
<PackageTags>F#, argument, parser</PackageTags>
<PackageTags>F#, argument, commandline, parser</PackageTags>
<!-- NOTE while ReproducibleBuilds/SourceLink derives the same value, other stuff in the FAKE fsx require this explicitly-->
<RepositoryUrl>https://github.com/fsprojects/Argu/</RepositoryUrl>
<PackageProjectUrl>https://fsprojects.github.io/Argu/</PackageProjectUrl>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<RepositoryType>git</RepositoryType>
<!-- SourceLink Options -->
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
<!--<IncludeSymbols>true</IncludeSymbols>-->
<!--<SymbolPackageFormat>snupkg</SymbolPackageFormat>-->
</PropertyGroup>

<!-- FsDocs -->
Expand Down
2 changes: 1 addition & 1 deletion paket.dependencies
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ storage: none

nuget FSharp.Core >= 4.3.2 lowest_matching:true
nuget System.Configuration.ConfigurationManager >= 4.0 lowest_matching:true
nuget Microsoft.SourceLink.GitHub ~> 1.1 copy_local:true
nuget DotNet.ReproducibleBuilds

group Tests
source https://api.nuget.org/v3/index.json
Expand Down
20 changes: 17 additions & 3 deletions paket.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,26 @@ STORAGE: NONE
RESTRICTION: == netstandard2.0
NUGET
remote: https://api.nuget.org/v3/index.json
DotNet.ReproducibleBuilds (1.1.1)
Microsoft.SourceLink.AzureRepos.Git (>= 1.1.1)
Microsoft.SourceLink.Bitbucket.Git (>= 1.1.1)
Microsoft.SourceLink.GitHub (>= 1.1.1)
Microsoft.SourceLink.GitLab (>= 1.1.1)
FSharp.Core (4.3.2)
Microsoft.Build.Tasks.Git (1.1.1) - copy_local: true
Microsoft.SourceLink.Common (1.1.1) - copy_local: true
Microsoft.SourceLink.GitHub (1.1.1) - copy_local: true
Microsoft.Build.Tasks.Git (8.0)
Microsoft.SourceLink.AzureRepos.Git (8.0)
Microsoft.Build.Tasks.Git (>= 8.0)
Microsoft.SourceLink.Common (>= 8.0)
Microsoft.SourceLink.Bitbucket.Git (8.0)
Microsoft.Build.Tasks.Git (>= 8.0)
Microsoft.SourceLink.Common (>= 8.0)
Microsoft.SourceLink.Common (8.0)
Microsoft.SourceLink.GitHub (1.1.1)
Microsoft.Build.Tasks.Git (>= 1.1.1)
Microsoft.SourceLink.Common (>= 1.1.1)
Microsoft.SourceLink.GitLab (8.0)
Microsoft.Build.Tasks.Git (>= 8.0)
Microsoft.SourceLink.Common (>= 8.0)
System.Buffers (4.5.1)
System.Configuration.ConfigurationManager (4.4)
System.Security.Cryptography.ProtectedData (>= 4.4)
Expand Down
5 changes: 2 additions & 3 deletions samples/Argu.Samples.LS/Argu.Samples.LS.fsproj
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<OutputType>Exe</OutputType>
<AssemblyName>ls</AssemblyName>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<!-- NOTE required as EXEs by default are treated as packable by the FAKE Release fsx -->
<IsPackable>false</IsPackable>
</PropertyGroup>
<ItemGroup>
Expand Down
6 changes: 2 additions & 4 deletions src/Argu/Argu.fsproj
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
<IsPackable>true</IsPackable>
<PackageIcon>logo.png</PackageIcon>
</PropertyGroup>
<ItemGroup>
Expand All @@ -24,4 +22,4 @@
<None Include="..\..\resource\logo.png" Pack="true" PackagePath="" />
</ItemGroup>
<Import Project="..\..\.paket\Paket.Restore.targets" />
</Project>
</Project>
2 changes: 1 addition & 1 deletion src/Argu/paket.references
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
FSharp.Core
System.Configuration.ConfigurationManager
Microsoft.SourceLink.GitHub
DotNet.ReproducibleBuilds
3 changes: 1 addition & 2 deletions tests/Argu.Tests/Argu.Tests.fsproj
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
</PropertyGroup>
Expand Down
43 changes: 0 additions & 43 deletions tests/Argu.Tests/packages.config

This file was deleted.

0 comments on commit 4a983a6

Please sign in to comment.