summaryrefslogtreecommitdiff
path: root/tests/projects/csharp/existing_csproj/test.lua
diff options
context:
space:
mode:
authorJassJam <[email protected]>2026-02-28 15:37:56 +0000
committerruki <[email protected]>2026-03-14 00:10:58 +0800
commita92e7c4087443cd91dafe14d2a5aa316a288b7c5 (patch)
treee356878da6af96a71d547906006fe45ebdbb8ed3 /tests/projects/csharp/existing_csproj/test.lua
parenta35ec2dcea9ca5c639ca9d1332a46ede16b959c0 (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.lua10
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