File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments