giraffe-template icon indicating copy to clipboard operation
giraffe-template copied to clipboard

Build file on solution template

Open vitoladev opened this issue 2 years ago • 0 comments

The template build file on the solution template fails to build if it isn't on the right project.

I think it would be better if the build file specified the right project for the operation, including explicitly the project's path.

Example:

Fails to build (build.sh)

#!/bin/sh
dotnet restore
dotnet build --no-restore
dotnet test  --no-build

Builds the solution correctly (build.sh)

#!/bin/sh
dotnet restore
dotnet build ./src/AppName --no-restore
dotnet test ./tests/AppName.Tests --no-build

vitoladev avatar Jul 12 '21 08:07 vitoladev