diff options
| author | JassJam <[email protected]> | 2026-02-28 15:37:56 +0000 |
|---|---|---|
| committer | ruki <[email protected]> | 2026-03-14 00:10:58 +0800 |
| commit | a92e7c4087443cd91dafe14d2a5aa316a288b7c5 (patch) | |
| tree | e356878da6af96a71d547906006fe45ebdbb8ed3 /tests/projects/csharp/existing_csproj/test.lua | |
| parent | a35ec2dcea9ca5c639ca9d1332a46ede16b959c0 (diff) | |
feat: generate csproj on demand
Diffstat (limited to 'tests/projects/csharp/existing_csproj/test.lua')
| -rw-r--r-- | tests/projects/csharp/existing_csproj/test.lua | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/projects/csharp/existing_csproj/test.lua b/tests/projects/csharp/existing_csproj/test.lua new file mode 100644 index 000000000..5ab8adc69 --- /dev/null +++ b/tests/projects/csharp/existing_csproj/test.lua @@ -0,0 +1,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 |
