Skip to content

Commit

Permalink
Add PowerShell pack script
Browse files Browse the repository at this point in the history
  • Loading branch information
PerplexDaniel committed Sep 27, 2023
1 parent 47342b3 commit 2c7ddfe
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pkg/pack.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
$configuration = "Release"

Write-Host "Packing Perplex.ContentBlocks.StaticAssets ..."
dotnet pack ..\src\Perplex.ContentBlocks.StaticAssets\Perplex.ContentBlocks.StaticAssets.csproj -c $configuration -o .

Write-Host "Packing Perplex.ContentBlocks.Core ..."
dotnet pack ..\src\Perplex.ContentBlocks.Core\Perplex.ContentBlocks.Core.csproj -c $configuration -o .

Write-Host "Packing Perplex.ContentBlocks ..."
dotnet pack ..\src\Perplex.ContentBlocks\Perplex.ContentBlocks.csproj -c $configuration -o .
1 change: 1 addition & 0 deletions src/Perplex.ContentBlocks/Perplex.ContentBlocks.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<PackageTags>umbraco umbraco-marketplace</PackageTags>
<Description>Block based content editor for Umbraco</Description>
<IncludeBuildOutput>false</IncludeBuildOutput>
<NoWarn>$(NoWarn);NU5128</NoWarn>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit 2c7ddfe

Please sign in to comment.