diff options
author | actboy168 <actboy168@gmail.com> | 2024-02-26 10:58:49 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-26 10:58:49 +0800 |
commit | 5a84fd7d8e51bb2e4783b57b5bc2b8ccf27e5182 (patch) | |
tree | 83dc5a867b61de6b618586bf12b9523ab7928d0e | |
parent | 73be83cacbe4a759a100a794e871c896a4692399 (diff) | |
download | lua-language-server-5a84fd7d8e51bb2e4783b57b5bc2b8ccf27e5182.zip |
Update make.lua
-rw-r--r-- | make.lua | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -58,13 +58,13 @@ local platform = require 'bee.platform' local exe = platform.OS == 'Windows' and ".exe" or "" lm:copy "copy_lua-language-server" { - input = lm.bindir .. "/lua-language-server" .. exe, - output = "bin/lua-language-server" .. exe, + inputs = "$bin/lua-language-server" .. exe, + outputs = "bin/lua-language-server" .. exe, } lm:copy "copy_bootstrap" { input = "make/bootstrap.lua", - output = "bin/main.lua", + outputs = "bin/main.lua", } lm:msvc_copydll 'copy_vcrt' { @@ -93,7 +93,7 @@ if lm.notest then end lm:rule "run-bee-test" { - lm.bindir .. "/lua-language-server" .. exe, "$in", + "$bin/lua-language-server" .. exe, "$in", description = "Run test: $in.", pool = "console", } @@ -107,13 +107,13 @@ lm:rule "run-unit-test" { lm:build "bee-test" { rule = "run-bee-test", deps = { "lua-language-server", "copy_script" }, - input = "3rd/bee.lua/test/test.lua", + inputs = "3rd/bee.lua/test/test.lua", } lm:build 'unit-test' { rule = "run-unit-test", deps = { "bee-test", "all" }, - input = "test.lua", + inputs = "test.lua", } lm:default { |