Skip to content

Instantly share code, notes, and snippets.

View sarchertech's full-sized avatar

Seth Archer Brown sarchertech

  • Stord
  • Chattanooga, TN
View GitHub Profile
@Geri-Borbas
Geri-Borbas / test.command
Last active February 27, 2019 18:21
Run Unity Editor Tests from command line. See https://gist.github.com/eppz/e566781bb20abf6df09469515d07ae83 for tasks.json. Don't forget to make it executable using chmod +x.
#!/bin/sh
UNITY_EXECUTABLE="/Applications/Unity/Unity.app/Contents/MacOS/Unity"
PROJECT_FOLDER="$1"
RESULTS_FILENAME="$2"
RESULTS_FILEPATH="$PROJECT_FOLDER/$RESULTS_FILENAME"
echo "Testing Unity project: $PROJECT_FOLDER"
echo "Running Unity.app (batch mode, run tests)..."