Skip to content

Commit 6954ae3

Browse files
committed
test
1 parent c781801 commit 6954ae3

2 files changed

Lines changed: 14 additions & 19 deletions

File tree

.github/workflows/build.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ jobs:
4747
- name: 👷 build
4848
shell: bash
4949
run: |
50-
export XMAKE_ROOT=y # Only need to use "--root" in CI
5150
xmake --version
5251
source env.sh
5352
pushd apps

apps/xmake.lua

Lines changed: 14 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,14 @@
1-
-- local arch = get_config("arch")
2-
-- if arch == "xuantie" then
3-
-- local packagefile = path.join(path.join(os.scriptdir(), "busybox"), "xmake.lua")
4-
-- if os.isfile(packagefile) then
5-
-- includes(packagefile)
6-
-- end
7-
-- else
8-
-- for _, packagedir in ipairs(os.dirs(path.join(os.scriptdir(), "*"))) do
9-
-- local packagefile = path.join(packagedir, "xmake.lua")
10-
-- if os.isfile(packagefile) then
11-
-- includes(packagefile)
12-
-- end
13-
-- end
14-
-- end
15-
local packagefile = path.join(path.join(os.scriptdir(), "player"), "xmake.lua")
16-
if os.isfile(packagefile) then
17-
includes(packagefile)
18-
end
1+
local arch = get_config("arch")
2+
if arch == "xuantie" then
3+
local packagefile = path.join(path.join(os.scriptdir(), "busybox"), "xmake.lua")
4+
if os.isfile(packagefile) then
5+
includes(packagefile)
6+
end
7+
else
8+
for _, packagedir in ipairs(os.dirs(path.join(os.scriptdir(), "*"))) do
9+
local packagefile = path.join(packagedir, "xmake.lua")
10+
if os.isfile(packagefile) then
11+
includes(packagefile)
12+
end
13+
end
14+
end

0 commit comments

Comments
 (0)