Skip to content

Commit

Permalink
Update script in root
Browse files Browse the repository at this point in the history
  • Loading branch information
FrankFlitton committed Dec 5, 2020
1 parent f5702af commit 78828df
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build-web.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ echo "👋 Building inside of: \n "$APP_DIR
if cd $FLUTTER_DIR; then
echo "📦 Cahed version of Flutter Beta found!"
echo "👀 Checking for updates..."
git pull && cd ..
git pull --ff-only && cd ..
else
echo "🦋 Download and setup Flutter Beta"
git clone https://github.com/flutter/flutter.git
Expand All @@ -33,7 +33,7 @@ echo "👷‍♀️🛠 Building Flutter app for web"
$FLUTTER_BIN config --enable-web
$FLUTTER_BIN build web --release

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

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

0 comments on commit 78828df

Please sign in to comment.