Skip to content

Commit af24e6d

Browse files
committed
remove <platform> folder
1 parent 4a5e54e commit af24e6d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

make.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ local lm = require 'luamake'
22
local platform = require 'bee.platform'
33
local exe = platform.OS == 'Windows' and ".exe" or ""
44

5-
lm.bindir = 'bin/' .. platform.OS
5+
lm.bindir = "bin"
66

77
lm.EXE_DIR = ""
88
lm:import "3rd/bee.lua/make.lua"

make/bootstrap.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ local root; do
4949
sep = '/\\'
5050
end
5151
local pattern = "["..sep.."][^"..sep.."]+"
52-
root = package.cpath:match("([^;]+)"..pattern..pattern..pattern.."$")
52+
root = package.cpath:match("([^;]+)"..pattern..pattern.."$")
5353
arg[0] = root .. package.config:sub(1,1) .. 'main.lua'
5454
end
5555
root = root:gsub('[/\\]', package.config:sub(1,1))

test.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package.path = package.path
22
.. ';./test/?.lua'
33
.. ';./test/?/init.lua'
44
local fs = require 'bee.filesystem'
5-
local rootPath = fs.exe_path():parent_path():parent_path():parent_path():string()
5+
local rootPath = fs.exe_path():parent_path():parent_path():string()
66
ROOT = fs.path(rootPath)
77
TEST = true
88
DEVELOP = true

0 commit comments

Comments
 (0)