summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore3
-rw-r--r--.vscode/launch.json6
-rw-r--r--test.lua2
3 files changed, 7 insertions, 4 deletions
diff --git a/.gitignore b/.gitignore
index 00ee8c15..34e6f371 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,3 +7,6 @@
!/meta/template
!/meta/3rd
/bin2
+/Windows
+/Linux
+/macOS \ No newline at end of file
diff --git a/.vscode/launch.json b/.vscode/launch.json
index 671a0662..8580852c 100644
--- a/.vscode/launch.json
+++ b/.vscode/launch.json
@@ -8,7 +8,7 @@
"request": "launch",
"stopOnEntry": false,
"program": "${workspaceRoot}/test.lua",
- "luaexe": "${workspaceFolder}/bin/Windows/lua-language-server.exe",
+ "luaexe": "${workspaceFolder}/Windows/lua-language-server.exe",
"cpath": null,
"arg": [
],
@@ -40,9 +40,9 @@
"type": "lua",
"request": "launch",
"stopOnEntry": false,
- "luaexe": "${workspaceFolder}/bin/Windows/lua-language-server.exe",
+ "luaexe": "${workspaceFolder}/Windows/lua-language-server.exe",
"program": "${workspaceRoot}/tools/build-3rd-meta.lua",
- "cpath": "${workspaceFolder}/bin/Windows/?.dll",
+ "cpath": "${workspaceFolder}/Windows/?.dll",
"arg": [
],
"luaVersion": "latest",
diff --git a/test.lua b/test.lua
index 21d10c5d..81a7fe57 100644
--- a/test.lua
+++ b/test.lua
@@ -2,7 +2,7 @@ package.path = package.path
.. ';./test/?.lua'
.. ';./test/?/init.lua'
local fs = require 'bee.filesystem'
-local rootPath = fs.exe_path():parent_path():parent_path():parent_path():string()
+local rootPath = fs.exe_path():parent_path():parent_path():string()
ROOT = fs.path(rootPath)
TEST = true
DEVELOP = true