-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #529 from machupicchubeta/flutter
Enable to setup Flutter
- Loading branch information
Showing
6 changed files
with
34 additions
and
3 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/bin/bash | ||
set -eu | ||
|
||
if [ ! -x "$(command -v ghq)" ]; then | ||
echo "Install ghq command first." | ||
exit 1 | ||
fi | ||
|
||
: "${REPOSITORIES_PATH:=$HOME/Repositories}" | ||
if [ ! -d "$REPOSITORIES_PATH" ]; then | ||
mkdir "$REPOSITORIES_PATH" | ||
fi | ||
|
||
export GHQ_ROOT="${GHQ_ROOT:=$REPOSITORIES_PATH}" | ||
ghq get --update https://github.com/flutter/flutter | ||
|
||
export FLUTTER_ROOT="${FLUTTER_ROOT:=$REPOSITORIES_PATH/github.com/flutter/flutter}" | ||
git -C $FLUTTER_ROOT switch stable | ||
$FLUTTER_ROOT/bin/flutter channel stable | ||
|
||
unset REPOSITORIES_PATH |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,4 @@ powder | |
reek | ||
neovim | ||
ruby-lsp | ||
cocoapods |