You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
428B

  1. #!/usr/bin/env bash
  2. # This script uses these environment variables:
  3. #
  4. # VCV_RACK_DIR
  5. #
  6. # The directory in which to clone and build Rack.
  7. #
  8. # VCV_RACK_COMMIT
  9. #
  10. # Which Rack commit to build.
  11. mkdir -p "${VCV_RACK_DIR}" \
  12. git clone -n https://github.com/VCVRack/Rack.git "${VCV_RACK_DIR}" || true
  13. cd "${VCV_RACK_DIR}"
  14. git checkout ${VCV_RACK_COMMIT}
  15. git pull
  16. git submodule update --init --recursive
  17. make dep > /dev/null
  18. make