Skip to content

Commit

Permalink
build: output info before execute script
Browse files Browse the repository at this point in the history
  • Loading branch information
WeihanLi committed Feb 29, 2024
1 parent 533b94d commit e1f383f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

dotnet build -c Release ./src/dotnet-exec/dotnet-exec.csproj -f net9.0 -o ./artifacts/out

./artifacts/out/dotnet-exec.exe --info

# Execute CSharp script
Write-Host "dotnet-exec ./build/build.cs --args $ARGS" -ForegroundColor GREEN
./artifacts/out/dotnet-exec.exe ./build/build.cs --args "$ARGS"
2 changes: 2 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,7 @@

dotnet build -c Release ./src/dotnet-exec/dotnet-exec.csproj -f net9.0 -o ./artifacts/out

./artifacts/out/dotnet-exec --info

echo "dotnet-exec ./build/build.cs --args $@"
./artifacts/out/dotnet-exec ./build/build.cs --args "$@"

0 comments on commit e1f383f

Please sign in to comment.