Last active
May 11, 2016 23:12
-
-
Save devoncarew/9f57408c7e7cc7f2c5a8fed3914b0dd8 to your computer and use it in GitHub Desktop.
Flutter kiosk setup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Copyright 2015 The Chromium Authors. All rights reserved. | |
# Use of this source code is governed by a BSD-style license that can be | |
# found in the LICENSE file. | |
set -e | |
export FLUTTER_ROOT=$HOME/flutter | |
if [ ! -f "$FLUTTER_ROOT" ]; then | |
echo Cloning Flutter repo... | |
git clone -b codelab https://github.com/flutter/flutter.git $FLUTTER_ROOT | |
else | |
echo Updating Flutter repo... | |
(cd $FLUTTER_ROOT; git pull) | |
fi | |
echo Running Flutter setup... | |
rm -f $HOME/.flutter | |
(cd $FLUTTER_ROOT; ./bin/flutter setup) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment