Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ethan
/
appframe
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit f88ffc93
authored
2025-12-25 16:52:41 +0800
by
Administrator
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
编译脚本优化
1 parent
6ef6cce1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
1 deletions
ios_build_pre.sh → build_ios.sh
ios_build_pre
.sh
→
build_ios
.sh
View file @
f88ffc9
...
@@ -5,9 +5,13 @@ if [ -z "$1" ]; then
...
@@ -5,9 +5,13 @@ if [ -z "$1" ]; then
fi
fi
env
=
$1
env
=
$1
_rebuild_
=
$2
_main_ver
=
'1.0.'
_ver
=
`
date +%y%m%d%H%M
`
base_root
=
'/Users/ethanlam/works/gitlab/flutter_pros/appframe.git'
base_root
=
'/Users/ethanlam/works/gitlab/flutter_pros/appframe.git'
cd
$base_root
cd
$base_root
git pull
if
[
! -z
"
$env
"
]
;
then
if
[
! -z
"
$env
"
]
;
then
# 首先下载同步最新的数据包
# 首先下载同步最新的数据包
...
@@ -27,5 +31,22 @@ if [ ! -z "$env" ]; then
...
@@ -27,5 +31,22 @@ if [ ! -z "$env" ]; then
fi
fi
fi
fi
cd
$base_root
if
[
! -z
"
$_rebuild_
"
]
;
then
flutter clean
flutter pub get
cd
ios
rm -rf Pods
rm -rf Podfile.lock
rm -rf .symlinks
rm -rf Flutter/Flutter.framework
rm -rf Flutter/App.framework
pod repo update
pod install
fi
flutter run --dart-define
=
env
=
$env
--dart-define
=
version
=
$_main_ver$_ver
-d 00008140-001068C93AB8801C
echo
'done '
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment