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

Add SourceLink2 support #22

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 3.5.0-beta-002 - 2019-07-21
### Changed

* Added SourceLink.

## 3.5.0-beta-001 - 2019-06-07
### Changed

Expand Down
3 changes: 2 additions & 1 deletion build.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,8 @@ let pushNuget (newVersion: string) (projFile: string) =

Paket.pack (fun p ->
{ p with BuildConfig = "Release"
Version = newVersion } )
Version = newVersion
Symbols = true } )

let files =
Directory.GetFiles(root </> "temp", "*.nupkg")
Expand Down
4 changes: 4 additions & 0 deletions paket.dependencies
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ github thoth-org/Thoth.Json tests/Types.fs
github thoth-org/Thoth.Json tests/Decoders.fs
github thoth-org/Thoth.Json tests/Encoders.fs

# source link
clitool dotnet-sourcelink-git framework: netcoreapp2.2
nuget Microsoft.SourceLink.GitHub

group netcorebuild
source https://www.nuget.org/api/v2
framework: netstandard2.0
Expand Down
623 changes: 324 additions & 299 deletions paket.lock

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions src/Thoth.Json.Net.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@
<TargetFrameworks>netstandard2.0;net46</TargetFrameworks>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>
<PropertyGroup>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<DebugType>portable</DebugType>
</PropertyGroup>
<ItemGroup>
<Compile Include="Types.fs" />
<Compile Include="Decode.fs" />
Expand Down
1 change: 1 addition & 0 deletions src/paket.references
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
FSharp.Core
Newtonsoft.Json
Fable.Core
Microsoft.SourceLink.GitHub
6 changes: 5 additions & 1 deletion src/paket.template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
type file

id Thoth.Json.Net
version 3.5.0-beta-001
version 0
title Thoth.Json.Net
authors Maxime Mangel
description Elm-inspired encoder and decoder for JSON targetting .Net and NetCore runtime
Expand All @@ -12,6 +12,7 @@ tags fsharp,json
files
bin/Release/**/Thoth.Json.Net.dll ==> lib
bin/Release/**/Thoth.Json.Net.xml ==> lib
bin/Release/**/Thoth.Json.Net.pdb ==> lib

dependencies
framework: net46
Expand All @@ -21,3 +22,6 @@ dependencies
FSharp.Core ~> LOCKEDVERSION
Newtonsoft.Json >= 11.0.2
Fable.Core ~> LOCKEDVERSION

excludeddependencies
Microsoft.SourceLink.GitHub