Skip to content

Commit

Permalink
buidl
Browse files Browse the repository at this point in the history
  • Loading branch information
ignatandrei committed Apr 5, 2024
1 parent 39a8895 commit 21293c7
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ jobs:
cd src
cd NetPackageAnalyzer
dotnet restore
dotnet build --no-restore
dotnet build /p:EmitCompilerGeneratedFiles=true --disable-build-servers --force
# dotnet build --no-restore
- name: Build
run: |
cd src
Expand Down
13 changes: 13 additions & 0 deletions src/NetPackageAnalyzer/build.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
while($true)
{

cls
Write-Host "delete obj and bin"
gci obj -recurse | foreach{ri $_.FullName -recurse -force }
gci bin -recurse | foreach{ri $_.FullName -recurse -force }
dotnet clean
dotnet restore
dotnet build /p:EmitCompilerGeneratedFiles=true --disable-build-servers --force
Read-Host -Prompt "Press Enter to continue"

}

0 comments on commit 21293c7

Please sign in to comment.