Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use DotNet.ReproducibleBuilds #174

Merged
merged 3 commits into from
Dec 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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>
bartelink marked this conversation as resolved.
Show resolved Hide resolved
<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>
nojaf marked this conversation as resolved.
Show resolved Hide resolved
<!-- 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.