Skip to content

Commit

Permalink
Update make.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
actboy168 authored Feb 26, 2024
1 parent 73be83c commit 5a84fd7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions make.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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' {
Expand Down Expand Up @@ -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",
}
Expand All @@ -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 {
Expand Down

0 comments on commit 5a84fd7

Please sign in to comment.