We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e032eda commit 62bc297Copy full SHA for 62bc297
xmake.lua
@@ -136,9 +136,11 @@ target("legacy-script-engine")
136
"LEGACY_SCRIPT_ENGINE_BACKEND_NODEJS"
137
)
138
set_basename("legacy-script-engine-nodejs")
139
- local langPath = path.join(os.projectdir(), "src/lang")
140
- local outputPath = path.join(os.projectdir(), "bin/" .. target:name())
141
- os.cp(langPath, outputPath)
+ after_build(function(target)
+ local langPath = path.join(os.projectdir(), "src/lang")
+ local outputPath = path.join(os.projectdir(), "bin/" .. target:name())
142
+ os.cp(langPath, outputPath)
143
+ end)
144
end
145
146
add_files(
0 commit comments