File tree Expand file tree Collapse file tree
crates/cli/src/subcommands Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ pub fn cli() -> clap::Command {
8282 . long ( "module-name" )
8383 . help ( "The module name that should be used for DLL export macros (required for lang unrealcpp)" )
8484 . required_if_eq ( "lang" , "unrealcpp" )
85- )
85+ )
8686 . arg (
8787 Arg :: new ( "lang" )
8888 . required ( true )
@@ -105,7 +105,7 @@ pub fn cli() -> clap::Command {
105105 clap:: ArgGroup :: new ( "output_dir" )
106106 . args ( [ "out_dir" , "uproject_dir" ] )
107107 . required ( true )
108- )
108+ )
109109}
110110
111111pub async fn exec ( config : Config , args : & clap:: ArgMatches ) -> anyhow:: Result < ( ) > {
@@ -189,7 +189,7 @@ pub async fn exec_ex(
189189 paths. insert ( path) ;
190190 }
191191
192- // For Unreal, we want to clean up just the module directory, not the entire uproject directory tree.
192+ // For Unreal, we want to clean up just the module directory, not the entire uproject directory tree.
193193 let cleanup_root = match lang {
194194 Language :: UnrealCpp => out_dir. join ( "Source" ) . join ( module_name. as_ref ( ) . unwrap ( ) ) ,
195195 _ => out_dir. clone ( ) ,
@@ -276,10 +276,10 @@ impl Language {
276276 Language :: Csharp => dotnet_format ( generated_files) ?,
277277 Language :: TypeScript => {
278278 // TODO: implement formatting.
279- } ,
279+ }
280280 Language :: UnrealCpp => {
281281 // TODO: implement formatting.
282- }
282+ }
283283 }
284284
285285 Ok ( ( ) )
Original file line number Diff line number Diff line change 1919 ]
2020 }
2121 ],
22- "_Note": "Plugin path is hardcoded. Make sure to point to your SpacetimeDB plugin roots directory, exact location.",
2322 "AdditionalPluginDirectories": [
24- "E:/Projects/ClockworkLabs/SpacetimeDB-unreal/crates/sdk-unreal /src"
23+ "../.. /src"
2524 ]
2625}
You can’t perform that action at this time.
0 commit comments