Files

21 lines
461 B
Bash
Raw Permalink Normal View History

2016-07-11 15:54:29 +01:00
#!/usr/bin/env bash
2016-07-18 15:59:42 -07:00
set -e -o pipefail
2016-07-11 15:54:29 +01:00
2016-07-18 15:59:42 -07:00
[[ -z "$NGIO_ENV_DEFS" ]] && . ./scripts/env-set.sh
if [[ -e "$NG2_REPO" ]]; then
echo Angular repo is already present at: $NG2_REPO
2016-07-18 15:59:42 -07:00
else
travis_fold start install.ng2
echo GETTING Angular from GitHub ...
2016-07-18 15:59:42 -07:00
set -x
git clone https://github.com/angular/angular.git $NG2_REPO
git -C $NG2_REPO checkout $LATEST_RELEASE
2016-07-18 15:59:42 -07:00
set +x
travis_fold end install.ng2
fi
echo INSTALLED repos:
ls -ld ../a*