11set shell := [" sh" , " -cu" ]
22is-windows := ` uname -s | grep -qi ' mingw\|msys' && echo true || echo false `
33
4- # Full pipeline
5- default : restore-tools test-all
4+ # Complete build and test
5+ default : test-all
66
77find-msbuild :
88 powershell -NoProfile -Command ' & { & "${env:ProgramFiles(x86)}\\Microsoft Visual Studio\\Installer\\vswhere.exe" -latest -requires Microsoft.Component.MSBuild -find MSBuild\\**\\Bin\\MSBuild.exe }'
@@ -12,7 +12,7 @@ restore-tools:
1212 dotnet tool restore
1313
1414# Restore main solution packages
15- restore :
15+ restore : restore-tools
1616 dotnet restore Rubjerg.Graphviz.sln
1717
1818# Build main app
@@ -50,10 +50,10 @@ test-all: build-tests
5050 just test Rubjerg.Graphviz.Test/ Rubjerg.Graphviz.Test.csproj
5151 just test Rubjerg.Graphviz.TransitiveTest/ Rubjerg.Graphviz.TransitiveTest.csproj
5252
53- locate-nupkg GITHUB_OUTPUT : test-all
54- echo " package=$(find . -name " Rubjerg.Graphviz.*.nupkg" | head -1)" >> {{ GITHUB_OUTPUT}}
53+ locate-nupkg GITHUB_OUTPUT :
54+ echo " package=$(find . -name " Rubjerg.Graphviz.*.nupkg" | head -1)" >> " {{ GITHUB_OUTPUT}} "
5555
56- # Check for CRLF line endings (only reports changes)
56+ # Check for CRLF line endings
5757check-line-endings :
5858 bash -c " git ls-files -- ':!GraphvizWrapper/graphvizfiles/*' ':!*.sh' | xargs unix2dos"
5959 git diff --exit-code
@@ -63,14 +63,14 @@ check-readme:
6363 git diff --exit-code -- README.md
6464
6565# Check formatting in main solution
66- check-format-main : restore-tools
66+ check-format-main :
6767 dotnet format whitespace --verify-no-changes -v diag Rubjerg.Graphviz.sln
6868
6969# Check formatting in test solution
70- check-format-tests : restore-tools
70+ check-format-tests :
7171 dotnet format whitespace --verify-no-changes -v diag Rubjerg.Graphviz.Tests.sln
7272
73- # Check for leftover tags like FIX'NOW
73+ # Check for unfinished work
7474check-fixme :
7575 bash -c " ! git grep 'FIX''NOW'"
7676
0 commit comments