diff options
| author | ruki <[email protected]> | 2019-09-07 21:54:53 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2019-09-07 21:54:53 +0800 |
| commit | f1cb1eb4d5d3e8a603f5e839d8859ab2fa95dfb6 (patch) | |
| tree | f81a3c702a5f1e978813cfbae3eb4665c93ef04f /xmake/rules/dlang/xmake.lua | |
| parent | 16350d2759319d15c4800e8c2a4184a34ab92171 (diff) | |
improve rules
Diffstat (limited to 'xmake/rules/dlang/xmake.lua')
| -rw-r--r-- | xmake/rules/dlang/xmake.lua | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/xmake/rules/dlang/xmake.lua b/xmake/rules/dlang/xmake.lua index 27f06c432..95615a3ec 100644 --- a/xmake/rules/dlang/xmake.lua +++ b/xmake/rules/dlang/xmake.lua @@ -21,9 +21,7 @@ -- define rule: dlang.build rule("dlang.build") set_extensions(".d") - on_build_files(function (target, sourcebatch, opt) - import("private.action.build.object")(target, sourcebatch, opt) - end) + on_build_files("private.action.build.object") -- define rule: dlang rule("dlang") |
