diff --git a/src/languages/lua.rs b/src/languages/lua.rs index 0fb3a50..8685e40 100644 --- a/src/languages/lua.rs +++ b/src/languages/lua.rs @@ -2,7 +2,7 @@ use crate::functions::functions; pub fn main(project_name: &str) { let main_folder: String = String::from(project_name.clone()); - let lua_file: String = String::from(format!("{}/main.py", main_folder)); + let lua_file: String = String::from(format!("{}/main.lua", main_folder)); let str_main_folder = main_folder.as_str(); let str_lua_file = lua_file.as_str(); diff --git a/src/main.rs b/src/main.rs index 5f88a50..67be76d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -196,6 +196,8 @@ fn main() { languages::python::main(&project_name); } else if choice == "assembly" { languages::assembly::main(&project_name); + } else if choice == "lua" { + languages::lua::main(&project_name); } change_directory(project_name.as_str()); command_execute(git_command, git_args.clone());