mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-10 14:58:10 -05:00
Rework depedency management in premake lua scripts
This commit is contained in:
8
tools/scripts/platform.lua
Normal file
8
tools/scripts/platform.lua
Normal file
@ -0,0 +1,8 @@
|
||||
-- Platform functions
|
||||
function ExecutableByOs(name)
|
||||
if os.host() == "windows" then
|
||||
return name .. ".exe"
|
||||
else
|
||||
return name
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user