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.

26 lines
607B

  1. #!/usr/bin/env bash
  2. set -o errexit
  3. set -o nounset
  4. set -o xtrace
  5. echo "MSYSTEM=${MSYSTEM}"
  6. export VCV_PLUGIN_NAME=Erratic
  7. export VCV_PLUGIN_DIR="${APPVEYOR_BUILD_FOLDER}"
  8. export VCV_RACK_DIR=/c/tmp/Rack
  9. export VCV_RACK_COMMIT=v0.6
  10. export VCV_HOME_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
  11. env | sort
  12. mkdir -p "${VCV_RACK_DIR}"
  13. git clone -n --branch=${VCV_RACK_COMMIT} https://github.com/VCVRack/Rack.git "${VCV_RACK_DIR}" || true
  14. cd "${VCV_RACK_DIR}"
  15. git submodule update --init --recursive
  16. make dep > /dev/null
  17. make
  18. cd "${VCV_PLUGIN_DIR}"
  19. make clean test dist RACK_DIR="${VCV_RACK_DIR}"