open-xcode.sh 272 B

1234567891011121314
  1. #!/usr/bin/env bash
  2. set -euo pipefail
  3. cd "$(dirname "${BASH_SOURCE[0]}")"
  4. if [[ "$(uname -s)" != "Darwin" ]]; then
  5. echo "The Tuist Xcode workflow is only available on macOS." >&2
  6. exit 1
  7. fi
  8. tuist install
  9. tuist generate --no-open
  10. open StdoutRenderer.xcworkspace