Skip to content

Commit 78828df

Browse files
committed
Update script in root
1 parent f5702af commit 78828df

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build-web.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ echo "👋 Building inside of: \n "$APP_DIR
1616
if cd $FLUTTER_DIR; then
1717
echo "📦 Cahed version of Flutter Beta found!"
1818
echo "👀 Checking for updates..."
19-
git pull && cd ..
19+
git pull --ff-only && cd ..
2020
else
2121
echo "🦋 Download and setup Flutter Beta"
2222
git clone https://github.com/flutter/flutter.git
@@ -33,7 +33,7 @@ echo "👷‍♀️🛠 Building Flutter app for web"
3333
$FLUTTER_BIN config --enable-web
3434
$FLUTTER_BIN build web --release
3535

36-
echo "🚚🖼 Copying graphic assets to expected folder"
37-
cp -R $APP_DIR/assets/. $APP_DIR/build/web/assets
36+
echo "🚚🖼 Copying graphic assets to their expected folders"
37+
cp -R $APP_DIR/build/web/assets/. $APP_DIR/build/web/
3838

3939
echo "✅🦋 Flutter for web build pipeline complete!"

0 commit comments

Comments
 (0)