github.com/inflatablewoman/deis@v1.0.1-0.20141111034523-a4511c46a6ce/contrib/util/add_server_dev_deps.sh (about)

     1  #!/bin/bash
     2  cd /vagrant/contrib/vagrant/util/
     3  
     4  # Use the `coverage' command to signal whether the container has the dev dependencies
     5  echo "which coverage > /dev/null" | ./dshell deis-controller
     6  if [ $? -ne 0 ]; then
     7  	cat <<-EOF | ./dshell deis-controller
     8  		cd /app
     9  		pip install -r dev_requirements.txt
    10  	EOF
    11  else
    12  	echo "Deis server development dependencies already installed."
    13  fi