Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
elephant
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
template admin
elephant
Commits
0213f881
Commit
0213f881
authored
1 year ago
by
liujiaxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
6e7ab706
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
buildCocos.js
bin/buildCocos.js
+2
-2
No files found.
bin/buildCocos.js
View file @
0213f881
...
@@ -115,14 +115,14 @@ async function buildWebDesktop() {
...
@@ -115,14 +115,14 @@ async function buildWebDesktop() {
async
function
buildAndroidBundle
()
{
async
function
buildAndroidBundle
()
{
// const args = ['--path', './', '--build', "platform=ios;debug=false;md5Cache=true;buildPath=build_android;appABIs=['armeabi-v7a','x86','x86_64','arm64-v8a'];encryptJs=true;xxteaKey=6bbfce23-28b4-4a;zipCompressJs=true", '--force'];
// const args = ['--path', './', '--build', "platform=ios;debug=false;md5Cache=true;buildPath=build_android;appABIs=['armeabi-v7a','x86','x86_64','arm64-v8a'];encryptJs=true;xxteaKey=6bbfce23-28b4-4a;zipCompressJs=true", '--force'];
const
args
=
[
'
--path
'
,
'
./
'
,
'
--build
'
,
"
platform=ios;debug=
fals
e;md5Cache=true;buildPath=build_android;appABIs=['armeabi-v7a','x86','x86_64','arm64-v8a'];zipCompressJs=true
"
,
'
--force
'
];
const
args
=
[
'
--path
'
,
'
./
'
,
'
--build
'
,
"
platform=ios;debug=
tru
e;md5Cache=true;buildPath=build_android;appABIs=['armeabi-v7a','x86','x86_64','arm64-v8a'];zipCompressJs=true
"
,
'
--force
'
];
await
buildCocos
(
args
);
await
buildCocos
(
args
);
}
}
async
function
buildIosBundle
()
{
async
function
buildIosBundle
()
{
// const args = ['--path', './', '--build', "platform=ios;debug=false;md5Cache=true;buildPath=build_ios;encryptJs=true;xxteaKey=6bbfce23-28b4-4a;zipCompressJs=true", '--force'];
// const args = ['--path', './', '--build', "platform=ios;debug=false;md5Cache=true;buildPath=build_ios;encryptJs=true;xxteaKey=6bbfce23-28b4-4a;zipCompressJs=true", '--force'];
const
args
=
[
'
--path
'
,
'
./
'
,
'
--build
'
,
"
platform=ios;debug=
fals
e;md5Cache=true;buildPath=build_ios;zipCompressJs=true
"
,
'
--force
'
];
const
args
=
[
'
--path
'
,
'
./
'
,
'
--build
'
,
"
platform=ios;debug=
tru
e;md5Cache=true;buildPath=build_ios;zipCompressJs=true
"
,
'
--force
'
];
await
buildCocos
(
args
);
await
buildCocos
(
args
);
}
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment