Added directory structure tests
This commit is contained in:
@@ -286,9 +286,11 @@ esac
|
||||
|
||||
clone_repos
|
||||
|
||||
# Sanity check to make sure the repo layout hasn't changed
|
||||
if [[ -d $BASE/edx_platform/scripts]]; then
|
||||
ouput "Installing system-level dependencies"
|
||||
|
||||
# Install system-level dependencies
|
||||
if [[ -d $BASE/edx_platform/scripts/install-system-req.sh]]; then
|
||||
|
||||
bash $BASE/edx_platform/scripts/install-system-req.sh
|
||||
|
||||
output "Installing RVM, Ruby, and required gems"
|
||||
|
||||
@@ -16,10 +16,11 @@ output() {
|
||||
|
||||
### START
|
||||
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
BREW_FILE=$DIR/"brew-formulas.txt"
|
||||
APT_REPOS_FILE=$DIR/"apt-repos.txt"
|
||||
APT_PKGS_FILE=$DIR/"apt-packages.txt"
|
||||
SELF_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
REQUIREMENTS_DIR=$DIR/"requirements/system"
|
||||
BREW_FILE=$REQUIREMENTS_DIR/"mac_os_x/brew-formulas.txt"
|
||||
APT_REPOS_FILE=$REQUIREMENTS_DIR/"ubuntu/apt-repos.txt"
|
||||
APT_PKGS_FILE=$REQUIREMENTS_DIR/"ubuntu/apt-packages.txt"
|
||||
|
||||
case `uname -s` in
|
||||
[Ll]inux)
|
||||
|
||||
Reference in New Issue
Block a user