File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
src/Prefab/templates/prefab/build Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ if ($null -eq (Get-Command "dotnet" -ErrorAction Ignore)) {
1010Push-Location (Split-Path $MyInvocation.MyCommand.Definition )
1111
1212try {
13- & dotnet run -- project build -- no- launch- profile -- $args
13+ & dotnet run -- project build -- no- launch- profile -- configuration Release -- $args
1414}
1515finally {
1616 Pop-Location
Original file line number Diff line number Diff line change 33set -euo pipefail
44
55if which dotnet > /dev/null; then
6- dotnet run --project build --no-launch-profile -- " $@ "
6+ dotnet run --project build --no-launch-profile --configuration Release -- " $@ "
77else
88 echo " error(1): Could not find 'dotnet', please install .NET SDK"
99 exit 1
Original file line number Diff line number Diff line change 88
99Target ( "clean" , ( ) =>
1010{
11- Run ( "dotnet" , "clean" ) ;
11+ Run ( "dotnet" , "clean --configuration Release " ) ;
1212
1313 if ( Directory . Exists ( "artifacts" ) )
1414 {
Original file line number Diff line number Diff line change 88
99Target ( "clean" , ( ) =>
1010{
11- Run ( "dotnet" , "clean" ) ;
11+ Run ( "dotnet" , "clean --configuration Release " ) ;
1212
1313 if ( Directory . Exists ( "artifacts" ) )
1414 {
You can’t perform that action at this time.
0 commit comments