summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/dmd.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2021-10-27 22:36:35 +0800
committerruki <[email protected]>2021-10-27 22:36:35 +0800
commit71217ef2ce95a70aad0fd1cad05eb462b4612a5b (patch)
tree9dff12c2baa041edb698d5ea37a5cfd565035668 /xmake/modules/core/tools/dmd.lua
parent1f2e6861e8160fa1584c67d6783b11b2dbd6c85e (diff)
remove some comments
Diffstat (limited to 'xmake/modules/core/tools/dmd.lua')
-rw-r--r--xmake/modules/core/tools/dmd.lua8
1 files changed, 0 insertions, 8 deletions
diff --git a/xmake/modules/core/tools/dmd.lua b/xmake/modules/core/tools/dmd.lua
index 2a9d860e1..3f29da28f 100644
--- a/xmake/modules/core/tools/dmd.lua
+++ b/xmake/modules/core/tools/dmd.lua
@@ -146,11 +146,7 @@ end
-- link the target file
function link(self, objectfiles, targetkind, targetfile, flags)
-
- -- ensure the target directory
os.mkdir(path.directory(targetfile))
-
- -- link it
os.runv(linkargv(self, objectfiles, targetkind, targetfile, flags))
end
@@ -161,11 +157,7 @@ end
-- compile the source file
function compile(self, sourcefile, objectfile, dependinfo, flags)
-
- -- ensure the object directory
os.mkdir(path.directory(objectfile))
-
- -- compile it
os.runv(compargv(self, sourcefile, objectfile, flags))
end