Skip to content

Commit 3aeb988

Browse files
committed
Add runtimes to CLi
1 parent db265ee commit 3aeb988

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

templates/cli/lib/questions.js.twig

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,14 @@ const getEntrypoint = (runtime) => {
5555
return 'main.rs';
5656
case 'swift':
5757
return 'Sources/swift-5.5/main.swift';
58+
case 'cpp':
59+
return 'src/index.cc';
60+
case 'dotnet':
61+
return 'src/Index.cs';
62+
case 'java':
63+
return 'src/Index.java';
64+
case 'kotlin':
65+
return 'src/Index.kt';
5866
}
5967

6068
return undefined;

0 commit comments

Comments
 (0)