summaryrefslogtreecommitdiff
path: root/xmake/modules/private/utils/bcsave.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2020-09-25 00:33:07 +0800
committerruki <[email protected]>2020-09-25 00:33:07 +0800
commit90af4956738036172984f068502624bbc515cae7 (patch)
tree7cd7177becaf98e676ae8eaa478f042e14505d3a /xmake/modules/private/utils/bcsave.lua
parent700f08a7bae11c22295f884610f98b7b99eb1790 (diff)
fix trailing white-space
Diffstat (limited to 'xmake/modules/private/utils/bcsave.lua')
-rw-r--r--xmake/modules/private/utils/bcsave.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmake/modules/private/utils/bcsave.lua b/xmake/modules/private/utils/bcsave.lua
index d3f4611ce..145395d5b 100644
--- a/xmake/modules/private/utils/bcsave.lua
+++ b/xmake/modules/private/utils/bcsave.lua
@@ -54,15 +54,15 @@ function save(sourcedir, outputdir, opt)
local override = (outputdir == sourcedir)
for _, luafile in ipairs(os.files(pattern)) do
- -- get relative lua file path
+ -- get relative lua file path
local relativepath = path.relative(luafile, sourcedir)
-
+
-- get display path
local displaypath = opt.rootname and path.join(opt.rootname, relativepath) or relativepath
-- get bitcode file path
local bcfile = override and os.tmpfile() or path.join(outputdir, relativepath)
-
+
-- generate bitcode file
-- @note we disable cache to ensure all display pathes are correct
bcsave(luafile, bcfile, {strip = opt.strip, displaypath = displaypath, nocache = true})