Skip to content

Commit

Permalink
Set FLUTTER_ROOT in env-set.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
chalin committed Sep 10, 2018
1 parent 9ad6467 commit ea045c4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
10 changes: 2 additions & 8 deletions tool/before-install.sh
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
#!/usr/bin/env bash

FLUTTER_ROOT=flutter
FLUTTER_BIN="$FLUTTER_ROOT/bin"

if [[ ! -e "$FLUTTER_ROOT" ]]; then
echo "ERROR: The ~/flutter git submodule is missing. For initialization instructions, see the repo README."
exit 1;
fi

source tool/shared/before-install.sh

# Site-specific settings here: currently, none.

travis_fold start before_install.flutter
echo "Refreshing Flutter repo and running doctor:"
(
Expand Down
8 changes: 8 additions & 0 deletions tool/env-set.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,11 @@
source tool/shared/env-set.sh

# Site-specific settings here: currently, none.

FLUTTER_ROOT=flutter
FLUTTER_BIN="$FLUTTER_ROOT/bin"

if [[ ! -e "$FLUTTER_ROOT" ]]; then
echo "ERROR: The ~/flutter git submodule is missing. For initialization instructions, see the repo README."
exit 1;
fi

0 comments on commit ea045c4

Please sign in to comment.