Skip to content

Commit

Permalink
Include symbols in publish (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
lahma authored Mar 25, 2021
1 parent a08b1ef commit 95ab900
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 41 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ jobs:
dotnet pack --output artifacts --configuration Release -p:Version=$VERSION
- name: Push with dotnet
run: dotnet nuget push artifacts/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json
run: dotnet nuget push artifacts/*.*nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ nunit-*.xml
dlldata.c

# Benchmark Results
BenchmarkDotNet.Artifacts/
BenchmarkDotNet.Artifacts*/

# .NET Core
project.lock.json
Expand Down Expand Up @@ -348,3 +348,6 @@ MigrationBackup/

# Ionide (cross platform F# VS Code tools) working folder
.ionide/

# Rider/Idea
.idea
23 changes: 0 additions & 23 deletions Common.props

This file was deleted.

24 changes: 24 additions & 0 deletions src/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">

<PropertyGroup>

<Copyright>Sebastien Ros</Copyright>
<Authors>Sebastien Ros</Authors>
<PackageProjectUrl>https://github.com/sebastienros/parlot</PackageProjectUrl>
<PackageLicenseExpression>BSD-3-Clause</PackageLicenseExpression>
<Version>0.0.0-preview</Version>

<TreatWarningsAsErrors>true</TreatWarningsAsErrors>

<LangVersion>Latest</LangVersion>
<DebugType>portable</DebugType>

<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<IncludeSymbols>true</IncludeSymbols>
<DebugType>portable</DebugType>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>

</PropertyGroup>

</Project>
13 changes: 0 additions & 13 deletions src/Parlot/Directory.Build.props

This file was deleted.

7 changes: 4 additions & 3 deletions src/Parlot/Parlot.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@

<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard2.1</TargetFrameworks>
<LangVersion>latest</LangVersion>
<Title>Fast parser combinator for .NET</Title>
<Description>Parser utilities with performance and simplicity as its goals.</Description>
<PackageTags>parser;interpreter;</PackageTags>
<IsPackable>true</IsPackable>
<AssemblyOriginatorKeyFile>Parlot.snk</AssemblyOriginatorKeyFile>
<SignAssembly>true</SignAssembly>
<DebugSymbols>true</DebugSymbols>
<DebugType>pdbonly</DebugType>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<NoWarn>$(NoWarn);1591</NoWarn>
</PropertyGroup>
Expand Down

0 comments on commit 95ab900

Please sign in to comment.