diff options
| author | ruki <[email protected]> | 2017-11-11 00:59:30 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-11-10 23:57:03 +0800 |
| commit | 47e6e15e84968c6b0f1ebf6c939157fb027a1c4f (patch) | |
| tree | 1b5399b13a73f981d1b95c531bb306f0e4a813f4 /tests/apis/rules/xmake.lua | |
| parent | 64875f84837a3b447d95b38ccce29bcdb57f8dd5 (diff) | |
build single object with rule
Diffstat (limited to 'tests/apis/rules/xmake.lua')
| -rw-r--r-- | tests/apis/rules/xmake.lua | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/apis/rules/xmake.lua b/tests/apis/rules/xmake.lua index d05d0eacc..1971e20fe 100644 --- a/tests/apis/rules/xmake.lua +++ b/tests/apis/rules/xmake.lua @@ -10,10 +10,8 @@ rule("markdown") rule("man") add_imports("core.project.rule") on_build_all(function (target, sourcefiles) - local vars = {name = "xmake"} for _, sourcefile in ipairs(sourcefiles) do print("generating %s", sourcefile) - io.gsub(sourcefile, "%[(.+)%]", function (name) return vars[name] end) end rule.build_all("markdown", target, sourcefiles) end) |
