1 2 3 4 5 6 7 8 9 10
import("lib.detect.find_tool") function test_build(t) local dotnet = find_tool("dotnet") if dotnet then t:build() else return t:skip("dotnet not found") end end