diff options
author | sumneko <sumneko@hotmail.com> | 2021-12-15 01:23:22 +0800 |
---|---|---|
committer | sumneko <sumneko@hotmail.com> | 2021-12-15 01:23:22 +0800 |
commit | 90861b509d62c59ee32212ee2dda2d2fb4f04ff1 (patch) | |
tree | 23136f46dc1d212b85701fc0e0b0c10d93d6d584 | |
parent | 84f5b23bf5ffcf0a3347a59c3cd632de2e5eec26 (diff) | |
download | lua-language-server-90861b509d62c59ee32212ee2dda2d2fb4f04ff1.zip |
Im too fool
-rw-r--r-- | make.lua | 20 |
1 files changed, 12 insertions, 8 deletions
@@ -6,16 +6,20 @@ lm.bindir = "bin" lm.EXE_DIR = "" -if lm.platform == "darwin-arm64" then - lm.target = "arm64-apple-macos11" -else - lm.target = "x86_64-apple-macos10.12" +if platform.OS == 'macOS' then + if lm.platform == "darwin-arm64" then + lm.target = "arm64-apple-macos11" + else + lm.target = "x86_64-apple-macos10.12" + end end -if lm.platform == "win32-ia32" then - lm.target = "x86" -else - lm.target = "x86_64" +if platform.OS == 'Windows' then + if lm.platform == "win32-ia32" then + lm.target = "x86" + else + lm.target = "x86_64" + end end lm:import "3rd/bee.lua/make.lua" |