summaryrefslogtreecommitdiff
path: root/tests/projects/csharp/console_with_runtime_json/test.lua
blob: d909316b707f42e3547397e382d4c6702579d3ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
import("detect.sdks.find_dotnet")

function test_build(t)
    if is_subhost("msys") then
        return t:skip("csharp not supported on msys")
    end
    local dotnet = find_dotnet()
    if dotnet and dotnet.sdkver then
        t:build()
    else
        return t:skip("dotnet sdk not found")
    end
end