Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
abdullh.alsoleman
Front-End
Commits
bd67b563
Commit
bd67b563
authored
Mar 08, 2016
by
Ian Hickson
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2480 from Hixie/less-confusing-progress-bars
Be more verbose when downloading artifacts
parents
eba2d44f
d5dbaa0b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
update_engine.sh
bin/cache/update_engine.sh
+4
-5
No files found.
bin/cache/update_engine.sh
View file @
bd67b563
...
...
@@ -11,7 +11,6 @@ ENGINE_STAMP_PATH="$FLUTTER_ROOT/bin/cache/engine.stamp"
ENGINE_VERSION
=
`
cat
"
$FLUTTER_ROOT
/bin/cache/engine.version"
`
if
[
!
-f
"
$ENGINE_STAMP_PATH
"
]
||
[
"
$ENGINE_VERSION
"
!=
`
cat
"
$ENGINE_STAMP_PATH
"
`
]
;
then
echo
"Downloading Flutter engine
$ENGINE_VERSION
..."
BASE_URL
=
"https://storage.googleapis.com/flutter_infra/flutter/
$ENGINE_VERSION
"
PKG_PATH
=
"
$FLUTTER_ROOT
/bin/cache/pkg"
...
...
@@ -19,9 +18,9 @@ if [ ! -f "$ENGINE_STAMP_PATH" ] || [ "$ENGINE_VERSION" != `cat "$ENGINE_STAMP_P
# sky_engine Package
echo
"Downloading Flutter engine
$ENGINE_VERSION
..."
ENGINE_PKG_URL
=
"
$BASE_URL
/sky_engine.zip"
ENGINE_PKG_ZIP
=
"
$FLUTTER_ROOT
/bin/cache/sky_engine.zip"
curl
--progress-bar
-continue-at
=
-
--location
--output
"
$ENGINE_PKG_ZIP
"
"
$ENGINE_PKG_URL
"
rm
-rf
--
"
$PKG_PATH
/sky_engine"
unzip
-o
-q
"
$ENGINE_PKG_ZIP
"
-d
"
$PKG_PATH
"
...
...
@@ -29,9 +28,9 @@ if [ ! -f "$ENGINE_STAMP_PATH" ] || [ "$ENGINE_VERSION" != `cat "$ENGINE_STAMP_P
# sky_services Package
echo
" And corresponding services package..."
SERVICES_PKG_URL
=
"
$BASE_URL
/sky_services.zip"
SERVICES_PKG_ZIP
=
"
$FLUTTER_ROOT
/bin/cache/sky_services.zip"
curl
--progress-bar
-continue-at
=
-
--location
--output
"
$SERVICES_PKG_ZIP
"
"
$SERVICES_PKG_URL
"
rm
-rf
--
"
$PKG_PATH
/sky_services"
unzip
-o
-q
"
$SERVICES_PKG_ZIP
"
-d
"
$PKG_PATH
"
...
...
@@ -44,13 +43,13 @@ if [ ! -f "$ENGINE_STAMP_PATH" ] || [ "$ENGINE_VERSION" != `cat "$ENGINE_STAMP_P
download_artifacts
()
{
PLATFORM
=
"
$1
"
PLATFORM_PATH
=
"
$ENGINE_ARTIFACT_PATH
/
$PLATFORM
"
PLATFORM_PATH
=
"
$ENGINE_ARTIFACT_PATH
/
$PLATFORM
"
mkdir
-p
--
"
$PLATFORM_PATH
"
echo
" And corresponding toolchain for
$PLATFORM
..."
ARTIFACTS_URL
=
"
$BASE_URL
/
$PLATFORM
/artifacts.zip"
ARTIFACTS_ZIP
=
"
$PLATFORM_PATH
/artifacts.zip"
curl
--progress-bar
-continue-at
=
-
--location
--output
"
$ARTIFACTS_ZIP
"
"
$ARTIFACTS_URL
"
unzip
-o
-q
"
$ARTIFACTS_ZIP
"
-d
"
$PLATFORM_PATH
"
rm
-f
--
"
$ARTIFACTS_ZIP
"
...
...
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