generated from Persson-dev/Godot-Xmake
Initial commit
This commit is contained in:
15
xmake/editor.lua
Normal file
15
xmake/editor.lua
Normal file
@@ -0,0 +1,15 @@
|
||||
target("Editor")
|
||||
set_default(false)
|
||||
|
||||
-- Disable building
|
||||
on_build((function() end))
|
||||
|
||||
on_run(
|
||||
(function(godot_project_folder)
|
||||
return function(target)
|
||||
local project_file = path.join(godot_project_folder, "project.godot")
|
||||
os.execv("echo", {"godot", project_file})
|
||||
os.exec("godot " .. project_file)
|
||||
end
|
||||
end)(GODOT_PROJECT_FOLDER)
|
||||
)
|
||||
Reference in New Issue
Block a user