Skip to content

Commit ecd6856

Browse files
committed
chore: fix lua lang output in xmake.lua
1 parent d681bc0 commit ecd6856

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

xmake.lua

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ target("legacy-script-engine")
100100
set_basename("legacy-script-engine-lua")
101101
after_build(function(target)
102102
local baselibPath = path.join(os.projectdir(), "src/baselib/BaseLib.lua")
103-
local langPath = path.join(os.projectdir(), "src/lang")
103+
local langPath = path.join(os.projectdir(), "src/lang/")
104104
local outputPath = path.join(os.projectdir(), "bin/" .. target:name())
105105
local baselibOutputPath = path.join(outputPath, "baselib")
106106
os.mkdir(baselibOutputPath)
@@ -117,7 +117,7 @@ target("legacy-script-engine")
117117
set_basename("legacy-script-engine-quickjs")
118118
after_build(function(target)
119119
local baselibPath = path.join(os.projectdir(), "src/baselib/BaseLib.js")
120-
local langPath = path.join(os.projectdir(), "src/lang")
120+
local langPath = path.join(os.projectdir(), "src/lang/")
121121
local outputPath = path.join(os.projectdir(), "bin/" .. target:name())
122122
local baselibOutputPath = path.join(outputPath, "baselib")
123123
os.mkdir(baselibOutputPath)
@@ -133,7 +133,7 @@ target("legacy-script-engine")
133133
set_basename("legacy-script-engine-python")
134134
after_build(function(target)
135135
local baselibPath = path.join(os.projectdir(), "src/baselib/BaseLib.py")
136-
local langPath = path.join(os.projectdir(), "src/lang")
136+
local langPath = path.join(os.projectdir(), "src/lang/")
137137
local outputPath = path.join(os.projectdir(), "bin/" .. target:name())
138138
local baselibOutputPath = path.join(outputPath, "baselib")
139139
os.mkdir(baselibOutputPath)
@@ -149,8 +149,8 @@ target("legacy-script-engine")
149149
remove_files("src/legacy/legacyapi/db/impl/mysql/*.cpp")
150150
set_basename("legacy-script-engine-nodejs")
151151
after_build(function(target)
152-
local langPath = path.join(os.projectdir(), "src/lang")
153-
local outputPath = path.join(os.projectdir(), "bin/" .. target:name() .. "/lang")
152+
local langPath = path.join(os.projectdir(), "src/lang/")
153+
local outputPath = path.join(os.projectdir(), "bin/" .. target:name())
154154
os.cp(langPath, outputPath)
155155
end)
156156
end

0 commit comments

Comments
 (0)