|
|
@ -2,6 +2,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
if [ ! -f "./Fork-Awesome/.git" ]; then |
|
|
|
if [ ! -f "./Fork-Awesome/.git" ]; then |
|
|
|
echo -e "\x1b[31;1mFA submodule is not initialized, exit...\x1b[m" |
|
|
|
echo -e "\x1b[31;1mFA submodule is not initialized, exit...\x1b[m" |
|
|
|
|
|
|
|
echo -e "Hint: try \x1b[36mgit submodule init && git submodule update\x1b[m" |
|
|
|
exit |
|
|
|
exit |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
@ -11,6 +12,7 @@ echo "=== Ensuring FA is up-to-date ===" |
|
|
|
git fetch && git reset --hard origin/master |
|
|
|
git fetch && git reset --hard origin/master |
|
|
|
|
|
|
|
|
|
|
|
echo "=== Installing ruby dependencies ===" |
|
|
|
echo "=== Installing ruby dependencies ===" |
|
|
|
|
|
|
|
echo "This will take a while, but only the first time. Please stand by..." |
|
|
|
bundle install --path vendor/bundle |
|
|
|
bundle install --path vendor/bundle |
|
|
|
|
|
|
|
|
|
|
|
echo |
|
|
|
echo |
|
|
|