Skip to content

Commit

Permalink
Fix buildandtest.sh to use - instead of /
Browse files Browse the repository at this point in the history
The '/' character will be interpreted as a path start under Linux (and
WSL), so change it to a '-'.

Tested locally under WSL (Windows Subsystem for Linux).
  • Loading branch information
lupino3 committed Nov 2, 2018
1 parent 0a9c84d commit 664c12d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildandtest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export Configuration=release
# On linux we don't pack because we can't build for net40.
# We just build for CoreCLR and run tests for it.
dotnet restore
dotnet build LibGit2Sharp.Tests -f netcoreapp2.0 /property:ExtraDefine="$EXTRADEFINE" /fl /flp:verbosity=detailed
dotnet build LibGit2Sharp.Tests -f netcoreapp2.0 -property:ExtraDefine="$EXTRADEFINE" -fl -flp:verbosity=detailed
dotnet test LibGit2Sharp.Tests/LibGit2Sharp.Tests.csproj -f netcoreapp2.0 --no-restore --no-build

exit $?

0 comments on commit 664c12d

Please sign in to comment.