Skip to content

Commit

Permalink
Remove usage of Volo.Abp.UI. Break packaging if can not pack a library.
Browse files Browse the repository at this point in the history
  • Loading branch information
hikalkan committed Jul 6, 2018
1 parent ca6de9c commit f7010cb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Volo.Abp;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;
using Volo.Abp.Domain.Entities;
using Volo.Abp.UI;

namespace Volo.Blogging.Blogs
{
Expand Down
5 changes: 5 additions & 0 deletions nupkg/pack.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ foreach($project in $projects) {
Remove-Item -Recurse (Join-Path $projectFolder "bin/Release")
& dotnet msbuild /t:pack /p:Configuration=Release /p:SourceLinkCreate=true

if (-Not $?) {
Write-Host ("Packaging failed for the project: " + $projectFolder)
exit $LASTEXITCODE
}

# Copy nuget package
$projectName = $project.Substring($project.LastIndexOf("/") + 1)
$projectPackPath = Join-Path $projectFolder ("/bin/Release/" + $projectName + ".*.nupkg")
Expand Down

0 comments on commit f7010cb

Please sign in to comment.