Skip to content

Pack script + paths fixed #97

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

Merged
merged 1 commit into from
Aug 2, 2021
Merged
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
3 changes: 2 additions & 1 deletion src/Plotly.NET.Interactive/Plotly.NET.Interactive.fsproj
Original file line number Diff line number Diff line change
@@ -32,8 +32,9 @@
</PropertyGroup>

<ItemGroup>
<None Include="Repack.ps1" />
<None Include="..\..\docs\img\logo.png" Pack="true" PackagePath="\" />
<None Include="..\..\bin\Plotly.NET.Interactive\net5.0\Plotly.NET.Interactive.dll" Pack="true" PackagePath="interactive-extensions/dotnet" />
<None Include="..\Plotly.NET.Interactive\bin\Release\$(TargetFramework)\Plotly.NET.Interactive.dll" Pack="true" PackagePath="interactive-extensions/dotnet" />
<Compile Include="AssemblyInfo.fs" />
<Compile Include="Extension.fs" />
</ItemGroup>
9 changes: 9 additions & 0 deletions src/Plotly.NET.Interactive/Repack.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# clean up the previously-cached NuGet packages
Remove-Item -Recurse ~\.nuget\packages\Plotly.NET.Interactive* -Force
Remove-Item -Recurse ~\.nuget\packages\Plotly.NET* -Force

# build and pack Plotly.NET.Interactive
dotnet restore
dotnet clean
dotnet build -c Release
dotnet pack -c Release